3v4l.org

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

Function dump:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rfLQ8
function name:  dump
number of ops:  11
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        ECHO                                                     'a%3A+'
          3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6        ECHO                                                     'b%3A+'
          7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    6    10      > RETURN                                                   null

End of function dump

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.42 ms | 1397 KiB | 16 Q