3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = json_decode('{"thumbnail":{"@url":"http:\/\/www.livestream.com\/filestore\/user-files\/chlukeestv\/2010\/01\/04\/92609a8d-afa6-4832-a8b2-ac4dc2925f4b_10.jpg"}}'); $thumb = $json->thumbnail; var_dump($thumb->{'@url'});
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jUTrO
function name:  (null)
number of ops:  11
compiled vars:  !0 = $json, !1 = $thumb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22thumbnail%22%3A%7B%22%40url%22%3A%22http%3A%5C%2F%5C%2Fwww.livestream.com%5C%2Ffilestore%5C%2Fuser-files%5C%2Fchlukeestv%5C%2F2010%5C%2F01%5C%2F04%5C%2F92609a8d-afa6-4832-a8b2-ac4dc2925f4b_10.jpg%22%7D%7D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        FETCH_OBJ_R                                      ~4      !0, 'thumbnail'
          5        ASSIGN                                                   !1, ~4
    5     6        INIT_FCALL                                               'var_dump'
          7        FETCH_OBJ_R                                      ~6      !1, '%40url'
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.28 ms | 1394 KiB | 17 Q