<?php
$json = json_decode('{"thumbnail":{"@url":"http:\/\/www.livestream.com\/filestore\/user-files\/chlukeestv\/2010\/01\/04\/92609a8d-afa6-4832-a8b2-ac4dc2925f4b_10.jpg"}}');
var_dump($json->thumbnail);
- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- object(stdClass)#1 (1) {
["@url"]=>
string(112) "http://www.livestream.com/filestore/user-files/chlukeestv/2010/01/04/92609a8d-afa6-4832-a8b2-ac4dc2925f4b_10.jpg"
}
- Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.30
- object(stdClass)#2 (1) {
["@url"]=>
string(112) "http://www.livestream.com/filestore/user-files/chlukeestv/2010/01/04/92609a8d-afa6-4832-a8b2-ac4dc2925f4b_10.jpg"
}
preferences:
306.41 ms | 402 KiB | 364 Q