3v4l.org

run code in 500+ PHP versions simultaneously
<?php function f() { call_user_func_array('g', func_get_args()); } function g(&$arg) { echo $arg; } f("Hello\n");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ICX97
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                                   'f'
          1        SEND_VAL                                                     'Hello%0A'
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ICX97
function name:  f
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   INIT_USER_CALL                                    0          'call_user_func_array', 'g'
          1        FUNC_GET_ARGS                                        ~0      
          2        SEND_ARRAY                                                   ~0
          3        CHECK_UNDEF_ARGS                                             
          4        DO_FCALL                                          1          
    5     5      > RETURN                                                       null

End of function f

Function g:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ICX97
function name:  g
number of ops:  3
compiled vars:  !0 = $arg
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   RECV                                                 !0      
    8     1        ECHO                                                         !0
    9     2      > RETURN                                                       null

End of function g

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
214.05 ms | 2028 KiB | 14 Q