3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AllYourBase {} spl_autoload_register(function($class) { class_alias('AllYourBase', $class); }); var_dump(new AreBelongToUs()); var_dump(new Yolo()); var_dump(new Trolo());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JHmCq
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FJHmCq%3A5%240'
    7     2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    9     4        INIT_FCALL                                               'var_dump'
          5        NEW                                              $2      'AreBelongToUs'
          6        DO_FCALL                                      0          
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
   10     9        INIT_FCALL                                               'var_dump'
         10        NEW                                              $5      'Yolo'
         11        DO_FCALL                                      0          
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                                 
   11    14        INIT_FCALL                                               'var_dump'
         15        NEW                                              $8      'Trolo'
         16        DO_FCALL                                      0          
         17        SEND_VAR                                                 $8
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FJHmCq%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JHmCq
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        INIT_FCALL                                               'class_alias'
          2        SEND_VAL                                                 'AllYourBase'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    7     5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FJHmCq%3A5%240

Class AllYourBase: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.71 ms | 1400 KiB | 19 Q