3v4l.org

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

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/731EK
function name:  Test
number of ops:  8
compiled vars:  !0 = $x, !1 = $y, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    3     2        MUL                                              ~3      !1, !0
          3        ASSIGN                                                   !0, ~3
    4     4        FUNC_GET_ARGS                                    ~5      
          5        ASSIGN                                                   !2, ~5
    5     6      > RETURN                                                   !2
    6     7*     > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.73 ms | 1397 KiB | 16 Q