3v4l.org

run code in 300+ PHP versions simultaneously
<?php class_alias('Foo', '*'); $a = '*'; new $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n81oX
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'class_alias'
          1        SEND_VAL                                                 'Foo'
          2        SEND_VAL                                                 '%2A'
          3        DO_ICALL                                                 
    5     4        ASSIGN                                                   !0, '%2A'
    7     5        FETCH_CLASS                                   0  $3      !0
          6        NEW                                              $4      $3
          7        DO_FCALL                                      0          
          8        FREE                                                     $4
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.6 ms | 1385 KiB | 15 Q