3v4l.org

run code in 300+ PHP versions simultaneously
<?php function plop(&$a, &$b) { return $a *b; } $plop = call_user_func_array('plop', Array(1,2)); echo "plop is $plop";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OSJva
function name:  (null)
number of ops:  9
compiled vars:  !0 = $plop
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'plop'
          1        SEND_ARRAY                                               <array>
          2        CHECK_UNDEF_ARGS                                         
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    9     5        NOP                                                      
          6        FAST_CONCAT                                      ~3      'plop+is+', !0
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Function plop:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OSJva
function name:  plop
number of ops:  6
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        FETCH_CONSTANT                                   ~2      'b'
          3        MUL                                              ~3      !0, ~2
          4      > RETURN                                                   ~3
    5     5*     > RETURN                                                   null

End of function plop

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.94 ms | 1396 KiB | 14 Q