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

FETCH_RW

PHP code

<?php
/*
 * Fetch the value of the varible of "name" to assign it to a variable?
 * opcode number: 86
 */
$x 1;
$a 'x';
$
$a++;
?>

PHP opcodes

Function name: (null)

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

line#op fetchextreturn operands
60 ASSIGN     !0,1
71 ASSIGN     !1,'x'
82 FETCH_RWlocal  $2 !1
 3 POST_INC   ~3 $2
 4 FREE     ~3
95 RETURN     1

PHP Manual