3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=array('1','2','3'); echo "$a[0] + $a[1] = $a[2]";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vrp4U
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_R                                      ~2      !0, 0
          2        ROPE_INIT                                     5  ~6      ~2
          3        ROPE_ADD                                      1  ~6      ~6, '+%2B+'
          4        FETCH_DIM_R                                      ~3      !0, 1
          5        ROPE_ADD                                      2  ~6      ~6, ~3
          6        ROPE_ADD                                      3  ~6      ~6, '+%3D+'
          7        FETCH_DIM_R                                      ~4      !0, 2
          8        ROPE_END                                      4  ~5      ~6, ~4
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.88 ms | 1392 KiB | 13 Q