3v4l.org

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

Function lol:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8mlYK
function name:  lol
number of ops:  9
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    4     3        INIT_FCALL                                               'var_dump'
          4        FUNC_GET_ARGS                                    ~3      
          5        SEND_UNPACK                                              ~3
          6        CHECK_UNDEF_ARGS                                         
          7        DO_ICALL                                                 
    5     8      > RETURN                                                   null

End of function lol

Function baz:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8mlYK
function name:  baz
number of ops:  9
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    8     3        INIT_FCALL                                               'lol'
          4        FUNC_GET_ARGS                                    ~3      
          5        SEND_UNPACK                                              ~3
          6        CHECK_UNDEF_ARGS                                         
          7        DO_FCALL                                      1          
    9     8      > RETURN                                                   null

End of function baz

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.45 ms | 1389 KiB | 17 Q