3v4l.org

run code in 500+ PHP versions simultaneously
<?php spl_autoload_register(function ($name) { var_dump($name); }); new \sitebundle\foo;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Am1Fv
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'spl_autoload_register'
          1        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
    5     2        SEND_VAL                                                     ~0
    3     3        DO_ICALL                                                     
    7     4        NEW                                                  $2      'sitebundle%5Cfoo'
          5        DO_FCALL                                          0          
          6        FREE                                                         $2
          7      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Am1Fv
function name:  {closure:/in/Am1Fv:3}
number of ops:  5
compiled vars:  !0 = $name
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    4     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
    5     4      > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.98 ms | 2738 KiB | 15 Q