3v4l.org

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

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

End of function say

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.08 ms | 1388 KiB | 16 Q