3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '[ { "id": "474", "room_id": "14", "user_id": "20", "name": "121001.webm", "fname": "", "status": "0", "date_recorded": "October 17 2018 07:18:51", "size": "396135", "is_public": "0", "allow_download": "0", "privatekey": "", "duration": "0", "record_path": "https:example/url/test.mp4", "record_url": "https:example/url/test.mp4" } ]'; //this will return array with stdClass object $data = json_decode($json); echo $data;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5RaOc
function name:  (null)
number of ops:  7
compiled vars:  !0 = $json, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%0A++%7B%0A++%22id%22%3A+%22474%22%2C%0A++%22room_id%22%3A+%2214%22%2C%0A++%22user_id%22%3A+%2220%22%2C%0A++%22name%22%3A+%22121001.webm%22%2C%0A++%22fname%22%3A+%22%22%2C%0A++%22status%22%3A+%220%22%2C%0A++%22date_recorded%22%3A+%22October+17+2018+07%3A18%3A51%22%2C%0A++%22size%22%3A+%22396135%22%2C%0A++%22is_public%22%3A+%220%22%2C%0A++%22allow_download%22%3A+%220%22%2C%0A++%22privatekey%22%3A+%22%22%2C%0A++%22duration%22%3A+%220%22%2C%0A++%22record_path%22%3A+%22https%3Aexample%2Furl%2Ftest.mp4%22%2C%0A++%22record_url%22%3A+%22https%3Aexample%2Furl%2Ftest.mp4%22%0A++%7D%0A%5D'
   24     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   25     5        ECHO                                                     !1
   26     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.14 ms | 1394 KiB | 15 Q