3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($a = 0, $b = 1, $c = 2) { //var_dump($args); var_dump(func_get_args()); } foo(a: 9, b: 99, c: 999);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZVR2L
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'foo'
          1        SEND_VAL                                                 9
          2        SEND_VAL                                                 99
          3        SEND_VAL                                                 999
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZVR2L
function name:  foo
number of ops:  8
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      0
          1        RECV_INIT                                        !1      1
          2        RECV_INIT                                        !2      2
    5     3        INIT_FCALL                                               'var_dump'
          4        FUNC_GET_ARGS                                    ~3      
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    6     7      > RETURN                                                   null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.78 ms | 1401 KiB | 16 Q