3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A{ function Hello() { echo __NAMESPACE__; } } namespace B{ function Hello() { echo __NAMESPACE__; } } namespace C{ \B\Hello(); \A\Hello(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b7D7e
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'b%5Chello'
          1        DO_FCALL                                      0          
   16     2        INIT_FCALL                                               'a%5Chello'
          3        DO_FCALL                                      0          
   18     4      > RETURN                                                   1

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

End of function a%5Chello

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

End of function b%5Chello

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.2 ms | 1397 KiB | 15 Q