3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { class A{ const Z = 9; } } namespace B { class B { const Z = 8; } } namespace { use B\B; const Z = 7; echo B::Z; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ufmqv
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   DECLARE_CONST                                            'Z', 7
   27     1        ECHO                                                     8
   30     2      > RETURN                                                   1

Class A\A: [no user functions]
Class B\B: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.57 ms | 1396 KiB | 13 Q