3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foobar($arg, $arg2) { echo __FUNCTION__, " got $arg and $arg2\n"; } call_user_func_array("foobar", array('arg2' => "one", 'arg1' => "two"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ke0fO
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'foobar'
          1        SEND_ARRAY                                               <array>
          2        CHECK_UNDEF_ARGS                                         
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function foobar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ke0fO
function name:  foobar
number of ops:  10
compiled vars:  !0 = $arg, !1 = $arg2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        ECHO                                                     'foobar'
          3        ROPE_INIT                                     5  ~3      '+got+'
          4        ROPE_ADD                                      1  ~3      ~3, !0
          5        ROPE_ADD                                      2  ~3      ~3, '+and+'
          6        ROPE_ADD                                      3  ~3      ~3, !1
          7        ROPE_END                                      4  ~2      ~3, '%0A'
          8        ECHO                                                     ~2
    5     9      > RETURN                                                   null

End of function foobar

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.3 ms | 1397 KiB | 14 Q