3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color = array('white', 'green', 'red', 'blue', 'black'); $string = "The memory of that scene for me is like a frame of film forever frozen at that moment: the {$color[2]} carpet, the {$color[q]} lawn, the {$color[0]} house, the leaden sky. The new president and his first lady. - Richard M. Nixon"; echo $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pMq96
function name:  (null)
number of ops:  15
compiled vars:  !0 = $color, !1 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ROPE_INIT                                     7  ~8      'The+memory+of+that+scene+for+me+is+like+a+frame+of+film+forever+frozen+at+that+moment%3A+the+'
          2        FETCH_DIM_R                                      ~3      !0, 2
          3        ROPE_ADD                                      1  ~8      ~8, ~3
          4        ROPE_ADD                                      2  ~8      ~8, '+carpet%2C+the+'
          5        FETCH_CONSTANT                                   ~4      'q'
          6        FETCH_DIM_R                                      ~5      !0, ~4
          7        ROPE_ADD                                      3  ~8      ~8, ~5
          8        ROPE_ADD                                      4  ~8      ~8, '+lawn%2C+the+'
          9        FETCH_DIM_R                                      ~6      !0, 0
         10        ROPE_ADD                                      5  ~8      ~8, ~6
         11        ROPE_END                                      6  ~7      ~8, '+house%2C+the+leaden+sky.+The+new+president+and+his+first+lady.+-+Richard+M.+Nixon'
         12        ASSIGN                                                   !1, ~7
    6    13        ECHO                                                     !1
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.89 ms | 1393 KiB | 13 Q