3v4l.org

run code in 300+ PHP versions simultaneously
<?php function drop() { global $test_end; $test_end = "ready"; } drop(); echo $test_end;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GIsM3
function name:  (null)
number of ops:  4
compiled vars:  !0 = $test_end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'drop'
          1        DO_FCALL                                      0          
   11     2        ECHO                                                     !0
   12     3      > RETURN                                                   1

Function drop:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GIsM3
function name:  drop
number of ops:  3
compiled vars:  !0 = $test_end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   BIND_GLOBAL                                              !0, 'test_end'
    6     1        ASSIGN                                                   !0, 'ready'
    7     2      > RETURN                                                   null

End of function drop

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.45 ms | 1004 KiB | 14 Q