php教程

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 fetchextreturn operands
60 BW_XOR   ~0 1,2
 1 JMPZ     ~0,->4
 2 RETURN     null
 3 JMP     ->4
74 RETURN     1

User Contributed Notes

gennady at kovshenin dot com 16-Mar-2015 01:04
This one is emitted inside a do .. while structure where booleans are compared with logical OR.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788