SunshinePHP Developer Conference 2015

JMPZ

PHP code

<?php
/*
 * Jump to the address if the value is zero
 * opcode number: 43
 */
if($a != 0) echo "foo";
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line#op fetchextreturn operands
60 IS_NOT_EQUAL   ~0 !0,0
 1 JMPZ     ~0,->4
 2 ECHO     'foo'
 3 JMP     ->4
74 RETURN     1
add a note add a note

User Contributed Notes

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