3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register('parse_str'); function test() { $FooBar = 1; echo 'e'.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/XI36G
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/XI36G
function name:  test
number of ops:  10
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        CONCAT                                           ~3      'e', $2
          5        ECHO                                                     ~3
    7     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    8     9      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.14 ms | 1397 KiB | 20 Q