3v4l.org

run code in 500+ PHP versions simultaneously
<?php function query1($hello, ...$args) { var_dump($args); } query1('Hello', 'World', 'And'); query1('Hello', ['World', 'And']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g8Wgm
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                                   'query1'
          1        SEND_VAL                                                     'Hello'
          2        SEND_VAL                                                     'World'
          3        SEND_VAL                                                     'And'
          4        DO_FCALL                                          0          
    9     5        INIT_FCALL                                                   'query1'
          6        SEND_VAL                                                     'Hello'
          7        SEND_VAL                                                     <array>
          8        DO_FCALL                                          0          
          9      > RETURN                                                       1

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

End of function query1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
143.65 ms | 2213 KiB | 16 Q