3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register( function ($className) { echo "Trying to autoload {$className}"; } ); use A\B\C; echo "It's not autoloading the 'use'd class.";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rkp79
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'spl_autoload_register'
    4     1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Frkp79%3A4%240'
    7     2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
   12     4        ECHO                                                     'It%27s+not+autoloading+the+%27use%27d+class.'
          5      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2Frkp79%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rkp79
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $className
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1        NOP                                                      
          2        FAST_CONCAT                                      ~1      'Trying+to+autoload+', !0
          3        ECHO                                                     ~1
    7     4      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2Frkp79%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.76 ms | 1394 KiB | 15 Q