PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

ASSIGN_DIM

PHP code

<?php
/*
 * 
 * opcode number: 147
 */
$b 1;
$a[1][2] = $b;
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$b, !1=$a

line#op fetchextreturn operands
60 ASSIGN     !0,1
71 FETCH_DIM_W   $1 !1,1
 2 ZEND_ASSIGN_DIM     $1,2
 3 ZEND_OP_DATA     !0,$3
84 RETURN     1

PHP Manual