3v4l.org

run code in 500+ PHP versions simultaneously
<?php function greet($name, $title) { print "Hello, $title $name"; } $args = ['title' => 'Mr.', 'name' => 'Doe']; greet(...$args); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pTq6T
function name:  (null)
number of ops:  6
compiled vars:  !0 = $args
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                       !0, <array>
    8     1        INIT_FCALL                                                   'greet'
          2        SEND_UNPACK                                                  !0
          3        CHECK_UNDEF_ARGS                                             
          4        DO_FCALL                                          0          
   10     5      > RETURN                                                       1

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

End of function greet

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.66 ms | 1466 KiB | 14 Q