3v4l.org

run code in 300+ PHP versions simultaneously
<?php function autoLoadClass($name) { echo 'spl_autoload_register: ', $name, '<br>'; } spl_autoload_register('autoLoadClass'); class_exists('Foo', false); class_exists('Bar', false); class_exists('Foo\\Bar', false);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KSVXr
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 'autoLoadClass'
          2        DO_ICALL                                                 
    8     3        INIT_FCALL                                               'class_exists'
          4        SEND_VAL                                                 'Foo'
          5        SEND_VAL                                                 <false>
          6        DO_ICALL                                                 
    9     7        INIT_FCALL                                               'class_exists'
          8        SEND_VAL                                                 'Bar'
          9        SEND_VAL                                                 <false>
         10        DO_ICALL                                                 
   10    11        INIT_FCALL                                               'class_exists'
         12        SEND_VAL                                                 'Foo%5CBar'
         13        SEND_VAL                                                 <false>
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Function autoloadclass:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KSVXr
function name:  autoLoadClass
number of ops:  5
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ECHO                                                     'spl_autoload_register%3A+'
          2        ECHO                                                     !0
          3        ECHO                                                     '%3Cbr%3E'
    4     4      > RETURN                                                   null

End of function autoloadclass

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.94 ms | 1408 KiB | 17 Q