3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace BAR { echo A; new foo(); } namespace BAR { const A = 'a'; class foo {} }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aAmI3
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_CONSTANT                                   ~0      'BAR%5CA'
          1        ECHO                                                     ~0
    5     2        NEW                                              $1      'BAR%5Cfoo'
          3        DO_FCALL                                      0          
          4        FREE                                                     $1
    9     5        DECLARE_CONST                                            'BAR%5CA', 'a'
   11     6      > RETURN                                                   1

Class BAR\foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.03 ms | 1440 KiB | 13 Q