Php/docs/internals2.opcodes.is-equal
来自菜鸟教程
IS_EQUAL
PHP code
<?php/* * compares if value1 and value2 are equal * opcode number: 17 */echo (1 == 1);echo (1 == 'c');?>
PHP opcodes
Function name: (null)
Compiled variables: none
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | IS_EQUAL | ~0 | 1,1 | ||
1 | ECHO | ~0 | ||||
7 | 2 | IS_EQUAL | ~1 | 1,'c' | ||
3 | ECHO | ~1 | ||||
8 | 4 | RETURN | 1 |