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

JMPZNZ

PHP code

<?php
/*
 * Jump to the address if the value is .. ???
 * opcode number: 45
 */
for($i=0$i<3$i++){ 
    echo 
"hi";
}
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$i

line#op fetchextreturn operands
60 ASSIGN     !0,0
 1 IS_SMALLER   ~1 !0,3
 2 JMPZNZ  6  ~1,->8
 3 POST_INC   ~2 !0
 4 FREE     ~2
 5 JMP     ->1
76 ECHO     'hi'
87 JMP     ->3
98 RETURN     1

PHP Manual