3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pics['data'][0]['images']['standard_resolution']['url'] = 'test'; echo "<img src='{$pics['data'][0]['images']['standard_resolution']['url']}'>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vo5eF
function name:  (null)
number of ops:  16
compiled vars:  !0 = $pics
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $1      !0, 'data'
          1        FETCH_DIM_W                                      $2      $1, 0
          2        FETCH_DIM_W                                      $3      $2, 'images'
          3        FETCH_DIM_W                                      $4      $3, 'standard_resolution'
          4        ASSIGN_DIM                                               $4, 'url'
          5        OP_DATA                                                  'test'
    5     6        ROPE_INIT                                     3  ~12     '%3Cimg+src%3D%27'
          7        FETCH_DIM_R                                      ~6      !0, 'data'
          8        FETCH_DIM_R                                      ~7      ~6, 0
          9        FETCH_DIM_R                                      ~8      ~7, 'images'
         10        FETCH_DIM_R                                      ~9      ~8, 'standard_resolution'
         11        FETCH_DIM_R                                      ~10     ~9, 'url'
         12        ROPE_ADD                                      1  ~12     ~12, ~10
         13        ROPE_END                                      2  ~11     ~12, '%27%3E'
         14        ECHO                                                     ~11
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
254.21 ms | 1393 KiB | 14 Q