3v4l.org

run code in 300+ PHP versions simultaneously
<?php class O_B {} class O_A extends O_B { function __construct() { echo __CLASS__; } } function ff($classname) { echo $classname; } class_alias('O_A', 'A'); spl_autoload_register ('ff'); new A();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DFHFb
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_FCALL                                               'class_alias'
          1        SEND_VAL                                                 'O_A'
          2        SEND_VAL                                                 'A'
          3        DO_ICALL                                                 
   18     4        INIT_FCALL                                               'spl_autoload_register'
          5        SEND_VAL                                                 'ff'
          6        DO_ICALL                                                 
   19     7        NEW                                              $2      'A'
          8        DO_FCALL                                      0          
          9        FREE                                                     $2
         10      > RETURN                                                   1

Function ff:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DFHFb
function name:  ff
number of ops:  3
compiled vars:  !0 = $classname
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
   14     1        ECHO                                                     !0
   15     2      > RETURN                                                   null

End of function ff

Class O_B: [no user functions]
Class O_A:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DFHFb
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                     'O_A'
   10     1      > RETURN                                                   null

End of function __construct

End of class O_A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.27 ms | 1395 KiB | 17 Q