3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test { function sqrt($arg=null) { return 'test'; } } namespace Second { function sqrt($arg=null) { return 'second'; } } namespace { use Test; echo sqrt(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FlbDH
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   INIT_FCALL                                               'sqrt'
          1        DO_ICALL                                         $0      
          2        ECHO                                                     $0
   25     3      > RETURN                                                   1

Function test%5Csqrt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FlbDH
function name:  Test\sqrt
number of ops:  3
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      null
    6     1      > RETURN                                                   'test'
    7     2*     > RETURN                                                   null

End of function test%5Csqrt

Function second%5Csqrt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FlbDH
function name:  Second\sqrt
number of ops:  3
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV_INIT                                        !0      null
   14     1      > RETURN                                                   'second'
   15     2*     > RETURN                                                   null

End of function second%5Csqrt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.49 ms | 1394 KiB | 15 Q