PHP - Manual: JMP
2024-12-21
<?php
/*
* Unconditonally jump to the address
* opcode number: 42
*/
$foo = false;
while(!$foo) {
$foo = true;
}
?>
Function name: (null)
compiled vars: !0 = $foo
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | ASSIGN | !0, false | |||
7 | 1 | BOOL_NOT | ~1 | !0 | ||
2 | JMPZ | ~1, ->5 | ||||
8 | 3 | ASSIGN | !0, true | |||
9 | 4 | JMP | ->1 | |||
11 | 5 | RETURN | 1 |
官方地址:https://www.php.net/manual/en/internals2.opcodes.jmp.php