3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Utils\Left { function whichHand() { echo "I'm using my left hand!"; } } namespace Utils\Right { function whichHand() { echo "I'm using my right hand!"; } } namespace { Utils\Left\whichHand(); Utils\Right\whichHand(); use function Utils\Left\whichHand as leftHand, Utils\Right\whichHand as rightHand; leftHand(); rightHand(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYH4r
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   INIT_FCALL                                               'utils%5Cleft%5Cwhichhand'
          1        DO_FCALL                                      0          
   17     2        INIT_FCALL                                               'utils%5Cright%5Cwhichhand'
          3        DO_FCALL                                      0          
   20     4        INIT_FCALL                                               'utils%5Cleft%5Cwhichhand'
          5        DO_FCALL                                      0          
   21     6        INIT_FCALL                                               'utils%5Cright%5Cwhichhand'
          7        DO_FCALL                                      0          
   22     8      > RETURN                                                   1

Function utils%5Cleft%5Cwhichhand:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYH4r
function name:  Utils\Left\whichHand
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     'I%27m+using+my+left+hand%21'
    6     1      > RETURN                                                   null

End of function utils%5Cleft%5Cwhichhand

Function utils%5Cright%5Cwhichhand:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYH4r
function name:  Utils\Right\whichHand
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ECHO                                                     'I%27m+using+my+right+hand%21'
   12     1      > RETURN                                                   null

End of function utils%5Cright%5Cwhichhand

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
130.31 ms | 1401 KiB | 17 Q