3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register('parse_str'); function test() { $FooBar = 1; echo class_exists('FooBar'); var_dump($FooBar); } test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9L3OR
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 'parse_str'
          2        DO_ICALL                                                 
    9     3        INIT_FCALL                                               'test'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9L3OR
function name:  test
number of ops:  9
compiled vars:  !0 = $FooBar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 1
    6     1        INIT_FCALL                                               'class_exists'
          2        SEND_VAL                                                 'FooBar'
          3        DO_ICALL                                         $2      
          4        ECHO                                                     $2
    7     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    8     8      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
214.44 ms | 1397 KiB | 20 Q