3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register('var_dump'); @new Foo(); @new \Foo(); use Foo\Bar; @new Bar(); use Foo\Baz as Cat; @new Cat(); use Foo\Ciz; @new Ciz\Caz();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8eGjH
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        SEND_VAL                                                 'var_dump'
          2        DO_ICALL                                                 
    5     3        BEGIN_SILENCE                                    ~1      
          4        NEW                                              $2      'Foo'
          5        DO_FCALL                                      0          
          6        END_SILENCE                                              ~1
          7        FREE                                                     $2
    6     8        BEGIN_SILENCE                                    ~4      
          9        NEW                                              $5      'Foo'
         10        DO_FCALL                                      0          
         11        END_SILENCE                                              ~4
         12        FREE                                                     $5
    9    13        BEGIN_SILENCE                                    ~7      
         14        NEW                                              $8      'Foo%5CBar'
         15        DO_FCALL                                      0          
         16        END_SILENCE                                              ~7
         17        FREE                                                     $8
   12    18        BEGIN_SILENCE                                    ~10     
         19        NEW                                              $11     'Foo%5CBaz'
         20        DO_FCALL                                      0          
         21        END_SILENCE                                              ~10
         22        FREE                                                     $11
   15    23        BEGIN_SILENCE                                    ~13     
         24        NEW                                              $14     'Foo%5CCiz%5CCaz'
         25        DO_FCALL                                      0          
         26        END_SILENCE                                              ~13
         27        FREE                                                     $14
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.95 ms | 1395 KiB | 15 Q