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


PHP code

 * add contents of variable in value2 to string value1 and store in result
 * opcode number: 56
echo "hello$a world";

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line#op fetchextreturn operands
60 ADD_STRING   ~0 'hello'
 1 ADD_VAR   ~0 ~0,!0
 2 ADD_STRING   ~0 ~0,'+world'
 3 ECHO     ~0
74 RETURN     1

PHP Manual