SunshinePHP Developer Conference 2015

JMP

PHP コード

<?php 
/*
 * Unconditonally jump to the address
 * opcode number: 42
 */
$foo false;
while(!
$foo) {
    
$foo true;
}
?>

PHP オペコード

関数名: (null)

compiled vars: !0 = $foo

line#op fetchextreturn operands
60 ASSIGN     !0, false
71 BOOL_NOT   ~1 !0
 2 JMPZ     ~1, ->5
83 ASSIGN     !0, true
94 JMP     ->1
115 RETURN     1
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top