3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AutoLoader { static function load($class) { echo 'your looking for ' . $class; //require '/src/lib/' . $class . '.php'; } } spl_autoload_register(array('AutoLoader', 'load')); $a = new Cheese(); $b = new Biscuits();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qq5Su
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                                 
   15     3        NEW                                              $3      'Cheese'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $3
   16     6        NEW                                              $6      'Biscuits'
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !1, $6
          9      > RETURN                                                   1

Class AutoLoader:
Function load:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qq5Su
function name:  load
number of ops:  4
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    8     1        CONCAT                                           ~1      'your+looking+for+', !0
          2        ECHO                                                     ~1
   10     3      > RETURN                                                   null

End of function load

End of class AutoLoader.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.12 ms | 1398 KiB | 16 Q