3v4l.org

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

Function prende_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jR5dD
function name:  prende_array
number of ops:  13
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        FETCH_DIM_R                                      ~1      !0, 0
          2        ROPE_INIT                                     4  ~4      ~1
          3        ROPE_ADD                                      1  ~4      ~4, '+%2B+'
          4        FETCH_DIM_R                                      ~2      !0, 1
          5        ROPE_ADD                                      2  ~4      ~4, ~2
          6        ROPE_END                                      3  ~3      ~4, '+%3D+'
          7        ECHO                                                     ~3
          8        FETCH_DIM_R                                      ~6      !0, 0
          9        FETCH_DIM_R                                      ~7      !0, 1
         10        ADD                                              ~8      ~6, ~7
         11        ECHO                                                     ~8
    5    12      > RETURN                                                   null

End of function prende_array

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.93 ms | 1397 KiB | 14 Q