3v4l.org

run code in 300+ PHP versions simultaneously
<?php function print_name($first, $middle, $last) { echo $last . ', ' . $first . ' ' . $middle; } print_name(...['j','o','e']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/seStg
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'print_name'
          1        SEND_UNPACK                                              <array>
          2        CHECK_UNDEF_ARGS                                         
          3        DO_FCALL                                      1          
          4      > RETURN                                                   1

Function print_name:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/seStg
function name:  print_name
number of ops:  9
compiled vars:  !0 = $first, !1 = $middle, !2 = $last
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    3     3        CONCAT                                           ~3      !2, '%2C+'
          4        CONCAT                                           ~4      ~3, !0
          5        CONCAT                                           ~5      ~4, '+'
          6        CONCAT                                           ~6      ~5, !1
          7        ECHO                                                     ~6
    4     8      > RETURN                                                   null

End of function print_name

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.27 ms | 1396 KiB | 14 Q