3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register(function ($class) { echo $class . "\n"; if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\EventDispatcher')) { if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\EventDispatcher')).'.php')) { require_once $file; } } }); new Symfony\Component\EventDispatcher\doesntexist;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3e0H2
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F3e0H2%3A2%240'
    9     2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
   10     4        NEW                                              $2      'Symfony%5CComponent%5CEventDispatcher%5Cdoesntexist'
          5        DO_FCALL                                      0          
          6        FREE                                                     $2
          7      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F3e0H2%3A2%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 30
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 30
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 30
Branch analysis from position: 30
filename:       /in/3e0H2
function name:  {closure}
number of ops:  31
compiled vars:  !0 = $class, !1 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        CONCAT                                           ~2      !0, '%0A'
          2        ECHO                                                     ~2
    4     3        INIT_FCALL                                               'strpos'
          4        INIT_FCALL                                               'ltrim'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '%2F'
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        SEND_VAL                                                 'Symfony%5CComponent%5CEventDispatcher'
         10        DO_ICALL                                         $4      
         11        IS_IDENTICAL                                             $4, 0
         12      > JMPZ                                                     ~5, ->30
    5    13    >   INIT_FCALL                                               'file_exists'
         14        INIT_FCALL                                               'substr'
         15        INIT_FCALL                                               'str_replace'
         16        SEND_VAL                                                 '%5C'
         17        SEND_VAL                                                 '%2F'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $6      
         20        SEND_VAR                                                 $6
         21        SEND_VAL                                                 33
         22        DO_ICALL                                         $7      
         23        CONCAT                                           ~8      '%2Fin%2F..%2F', $7
         24        CONCAT                                           ~9      ~8, '.php'
         25        ASSIGN                                           ~10     !1, ~9
         26        SEND_VAL                                                 ~10
         27        DO_ICALL                                         $11     
         28      > JMPZ                                                     $11, ->30
    6    29    >   INCLUDE_OR_EVAL                                          !1, REQUIRE_ONCE
    9    30    > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F3e0H2%3A2%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.94 ms | 1400 KiB | 25 Q