3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; function strlen($s){ return 50; } namespace Bar; use \Foo\strlen as strle; echo Foo\strlen('b');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jnrOB
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL_BY_NAME                                       'Bar%5CFoo%5Cstrlen'
          1        SEND_VAL_EX                                              'b'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function foo%5Cstrlen:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jnrOB
function name:  Foo\strlen
number of ops:  3
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1      > RETURN                                                   50
    7     2*     > RETURN                                                   null

End of function foo%5Cstrlen

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.58 ms | 1392 KiB | 13 Q