3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function autoload($class){} } class B { public static function autoload($class){} } class C { public static function autoload($class){} } spl_autoload_register(array('A', 'autoload'), true); spl_autoload_register(array('B', 'autoload'), true); spl_autoload_register(array('C', 'autoload'), true, true); var_dump(spl_autoload_functions());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7uq4h
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 <array>
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                                 
   17     4        INIT_FCALL                                               'spl_autoload_register'
          5        SEND_VAL                                                 <array>
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                                 
   18     8        INIT_FCALL                                               'spl_autoload_register'
          9        SEND_VAL                                                 <array>
         10        SEND_VAL                                                 <true>
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                                 
   20    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'spl_autoload_functions'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Class A:
Function autoload:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7uq4h
function name:  autoload
number of ops:  2
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function autoload

End of class A.

Class B:
Function autoload:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7uq4h
function name:  autoload
number of ops:  2
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function autoload

End of class B.

Class C:
Function autoload:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7uq4h
function name:  autoload
number of ops:  2
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function autoload

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.72 ms | 1401 KiB | 19 Q