3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '["4a21da2670ce6528b2cffebf6f42cb1b8ade3c13.png","4d9465c0694079296b24f6e3be7b226eaa9f94dd.png"]'; $array = json_decode($json); foreach($array as $a) { echo '<img src="/uploads/products/'.$a.'" width="35">'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/qIPNV
function name:  (null)
number of ops:  13
compiled vars:  !0 = $json, !1 = $array, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%224a21da2670ce6528b2cffebf6f42cb1b8ade3c13.png%22%2C%224d9465c0694079296b24f6e3be7b226eaa9f94dd.png%22%5D'
    5     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    6     5      > FE_RESET_R                                       $6      !1, ->11
          6    > > FE_FETCH_R                                               $6, !2, ->11
    7     7    >   CONCAT                                           ~7      '%3Cimg+src%3D%22%2Fuploads%2Fproducts%2F', !2
          8        CONCAT                                           ~8      ~7, '%22+width%3D%2235%22%3E'
          9        ECHO                                                     ~8
    6    10      > JMP                                                      ->6
         11    >   FE_FREE                                                  $6
    8    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.52 ms | 1394 KiB | 15 Q