3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace MyNamespace\Overwrite; function test() { echo 1; } namespace MyNamespace\Another; function test() { echo 2; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jioip
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E > > RETURN                                                   1

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

End of function mynamespace%5Coverwrite%5Ctest

Function mynamespace%5Canother%5Ctest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jioip
function name:  MyNamespace\Another\test
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   ECHO                                                     2
   15     1      > RETURN                                                   null

End of function mynamespace%5Canother%5Ctest

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.1 ms | 1393 KiB | 13 Q