3v4l.org

run code in 300+ PHP versions simultaneously
<?php function autoload($class) { throw new Exception('fail'); } spl_autoload_register('autoload'); new Xxx();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GWtNV
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 'autoload'
          2        DO_ICALL                                                 
    8     3        NEW                                              $1      'Xxx'
          4        DO_FCALL                                      0          
          5        FREE                                                     $1
          6      > RETURN                                                   1

Function autoload:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/GWtNV
function name:  autoload
number of ops:  6
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        NEW                                              $1      'Exception'
          2        SEND_VAL_EX                                              'fail'
          3        DO_FCALL                                      0          
          4      > THROW                                         0          $1
    4     5*     > RETURN                                                   null

End of function autoload

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.16 ms | 1394 KiB | 15 Q