3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = '[{ "name": "files\/Cairnhill Emergency Plan v.6.0 Sep 2022_dy8yokem.pdf", "usrName": "Cairnhill Emergency Plan v.6.0 Sep 2022.pdf", "size": 1020697, "type": "application\/pdf", "searchStr": "Cairnhill Emergency Plan v.6.0 Sep 2022.pdf,!:sStrEnd" }]'; $data = json_decode($array, true); echo "name: ".$data[0]["name"];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7i1ZR
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array, !1 = $data
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%5B%7B%0A++%22name%22%3A+%22files%5C%2FCairnhill+Emergency+Plan+v.6.0+Sep+2022_dy8yokem.pdf%22%2C%0A++%22usrName%22%3A+%22Cairnhill+Emergency+Plan+v.6.0+Sep+2022.pdf%22%2C%0A++%22size%22%3A+1020697%2C%0A++%22type%22%3A+%22application%5C%2Fpdf%22%2C%0A++%22searchStr%22%3A+%22Cairnhill+Emergency+Plan+v.6.0+Sep+2022.pdf%2C%21%3AsStrEnd%22%0A%7D%5D'
   11     1        INIT_FCALL                                                   'json_decode'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     <true>
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
   12     6        FETCH_DIM_R                                          ~5      !1, 0
          7        FETCH_DIM_R                                          ~6      ~5, 'name'
          8        CONCAT                                               ~7      'name%3A+', ~6
          9        ECHO                                                         ~7
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.02 ms | 1948 KiB | 14 Q