3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { $t = "this"; $$t = 5; extract(array("this" => "foo")); var_dump($this); } foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rFJob
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'foo'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rFJob
function name:  foo
number of ops:  11
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'this'
    5     1        FETCH_W                      local               $2      !0
          2        ASSIGN                                                   $2, 5
    6     3        INIT_FCALL                                               'extract'
          4        SEND_VAL                                                 <array>
          5        DO_ICALL                                                 
    7     6        INIT_FCALL                                               'var_dump'
          7        FETCH_THIS                                       ~5      
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
    8    10      > RETURN                                                   null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.45 ms | 1397 KiB | 18 Q