downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

FETCH_DIM_TMP_VAR> <FETCH_DIM_R
[edit] Last updated: Fri, 26 Apr 2013

view this page in

FETCH_DIM_RW

PHP code

<?php
/*
 * Fetch the value of the element at "index" in "array-value" to store it in "result".
 * opcode number: 87
 */
$x = array(1,2,3);
$a 'x';
$
$a[0]++;
?>

PHP opcodes

Function name: (null)

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

line#op fetchextreturn operands
60 INIT_ARRAY   ~0 1
 1 ADD_ARRAY_ELEMENT   ~0 2
 2 ADD_ARRAY_ELEMENT   ~0 3
 3 ASSIGN     !0,~0
74 ASSIGN     !1,'x'
85 FETCH_DIM_R   $3 !1,0
 6 FETCH_RWlocal  $4 $3
 7 POST_INC   ~5 $4
 8 FREE     ~5
99 RETURN     1


add a note add a note User Contributed Notes FETCH_DIM_RW - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites