3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a() { call_user_func_array('b', func_get_args()); } function b() { } a('foo', 'bar');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Y1kM
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'a'
          1        SEND_VAL                                                 'foo'
          2        SEND_VAL                                                 'bar'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Y1kM
function name:  a
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', 'b'
          1        FUNC_GET_ARGS                                    ~0      
          2        SEND_ARRAY                                               ~0
          3        CHECK_UNDEF_ARGS                                         
          4        DO_FCALL                                      0          
    5     5      > RETURN                                                   null

End of function a

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

End of function b

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.09 ms | 1397 KiB | 14 Q