JMPZNZ

PHP code

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

PHP opcodes

Function name: (null)

Compiled variables: !0=$i

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