3v4l.org

run code in 300+ PHP versions simultaneously
<?php function t(string ...$args) { var_dump($args); } function wrapperForT(string ...$args) { t($args); } t('one', 'two', 'three'); wrapperForT('four', 'five', 'six');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qUntL
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               't'
          1        SEND_VAL                                                 'one'
          2        SEND_VAL                                                 'two'
          3        SEND_VAL                                                 'three'
          4        DO_FCALL                                      0          
   14     5        INIT_FCALL                                               'wrapperfort'
          6        SEND_VAL                                                 'four'
          7        SEND_VAL                                                 'five'
          8        SEND_VAL                                                 'six'
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function t:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qUntL
function name:  t
number of ops:  5
compiled vars:  !0 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_VARIADIC                                    !0      
    5     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    6     4      > RETURN                                                   null

End of function t

Function wrapperfort:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qUntL
function name:  wrapperForT
number of ops:  5
compiled vars:  !0 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV_VARIADIC                                    !0      
   10     1        INIT_FCALL                                               't'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0          
   11     4      > RETURN                                                   null

End of function wrapperfort

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.65 ms | 1398 KiB | 18 Q