PHP - Manual: JMPZ
2024-12-22
<?php
/*
* Jump to the address if the value is zero
* opcode number: 43
*/
if($a != 0) echo "foo";
?>
Function name: (null)
Compiled variables: !0=$a
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | IS_NOT_EQUAL | ~0 | !0,0 | ||
1 | JMPZ | ~0,->4 | ||||
2 | ECHO | 'foo' | ||||
3 | JMP | ->4 | ||||
7 | 4 | RETURN | 1 |
官方地址:https://www.php.net/manual/en/internals2.opcodes.jmpz.php