3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Teste { CONST TESTE = 'ABC'; class A {} } namespace{ echo Teste\TESTE; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pOS9M
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DECLARE_CONST                                            'Teste%5CTESTE', 'ABC'
    9     1        FETCH_CONSTANT                                   ~0      'Teste%5CTESTE'
          2        ECHO                                                     ~0
   12     3      > RETURN                                                   1

Class Teste\A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.52 ms | 1392 KiB | 13 Q