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/cjhgt
function name:  (null)
number of ops:  27
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        NEW                                              $1      'Foo'
          4        DO_FCALL                                      0          
          5        FREE                                                     $1
    6     6        BEGIN_SILENCE                                    ~3      
          7        NEW                                              $4      'Foo'
          8        DO_FCALL                                      0          
          9        END_SILENCE                                              ~3
         10        FREE                                                     $4
    9    11        BEGIN_SILENCE                                    ~6      
         12        NEW                                              $7      'Foo%5CBar'
         13        DO_FCALL                                      0          
         14        END_SILENCE                                              ~6
         15        FREE                                                     $7
   12    16        BEGIN_SILENCE                                    ~9      
         17        NEW                                              $10     'Foo%5CBaz'
         18        DO_FCALL                                      0          
         19        END_SILENCE                                              ~9
         20        FREE                                                     $10
   15    21        BEGIN_SILENCE                                    ~12     
         22        NEW                                              $13     'Foo%5CCiz%5CCaz'
         23        DO_FCALL                                      0          
         24        END_SILENCE                                              ~12
         25        FREE                                                     $13
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.99 ms | 1395 KiB | 15 Q