3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Biz { const Bar = 41; } namespace Foo { const Bar = 42; } namespace Foo { use const Biz\Bar; echo Bar; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0pRZk
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CONST                                            'Biz%5CBar', 41
    9     1        DECLARE_CONST                                            'Foo%5CBar', 42
   14     2        FETCH_CONSTANT                                   ~0      'Biz%5CBar'
          3        ECHO                                                     ~0
   15     4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.07 ms | 993 KiB | 13 Q