3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { function bar() { echo __FUNCTION__; } } namespace { use function foo\bar; bar(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y4j1X
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'foo%5Cbar'
          1        DO_FCALL                                      0          
   15     2      > RETURN                                                   1

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

End of function foo%5Cbar

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.18 ms | 1396 KiB | 14 Q