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#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
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top