3v4l.org

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

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

End of function foo%5Cbitch

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

End of function bar%5Cbitch

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.96 ms | 1393 KiB | 13 Q