3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function say(string ...$something): string{ return implode(', ', $something); } say('hello', 'world');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tKHFH
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'say'
          1        SEND_VAL                                                 'hello'
          2        SEND_VAL                                                 'world'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

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

End of function say

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.83 ms | 1396 KiB | 16 Q