JMPNZ_EX
PHP code
<?php
/*
* Jump to the address if the xor of value1 and value2 is zero .. ???
* opcode number: 47
*/
if(1^2) return;
?>
PHP opcodes
Function name: (null)
Compiled variables: none
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | BW_XOR | ~0 | 1,2 | ||
1 | JMPZ | ~0,->4 | ||||
2 | RETURN | null | ||||
3 | JMP | ->4 | ||||
7 | 4 | RETURN | 1 |
add a note
User Contributed Notes 1 note
gennady at kovshenin dot com ¶
4 years ago
This one is emitted inside a do .. while structure where booleans are compared with logical OR.
备份地址:http://www.lvesu.com/blog/php/internals2.opcodes.jmpnz-ex.php