3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { function println($string) { print $string."\n"; } } namespace bar { use function foo\println; println("Hallo Emanuel"); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F3cd3
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'foo%5Cprintln'
          1        SEND_VAL                                                 'Hallo+Emanuel'
          2        DO_FCALL                                      0          
   14     3      > RETURN                                                   1

Function foo%5Cprintln:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F3cd3
function name:  foo\println
number of ops:  4
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1        CONCAT                                           ~1      !0, '%0A'
          2        ECHO                                                     ~1
    7     3      > RETURN                                                   null

End of function foo%5Cprintln

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.62 ms | 1396 KiB | 14 Q