3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace NS; use function NS\foo; use const NS\BAR; function foo() { echo BAR; } const BAR = 3; foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RtPKv
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CONST                                                'NS%5CBAR', 3
    9     1        INIT_FCALL                                                   'ns%5Cfoo'
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

Function ns%5Cfoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RtPKv
function name:  NS\foo
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   FETCH_CONSTANT                                       ~0      'NS%5CBAR'
          1        ECHO                                                         ~0
          2      > RETURN                                                       null

End of function ns%5Cfoo

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.6 ms | 2066 KiB | 14 Q