3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $json = json_decode(file_get_contents("http://xlukeestvx.api.channel.livestream.com/2.0/thumbnail.json?id=flv_92609a8d-afa6-4832-a8b2-ac4dc2925f4b")); echo $json->data->thumbnail->url;
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/raldq on line 3 Warning: file_get_contents(http://xlukeestvx.api.channel.livestream.com/2.0/thumbnail.json?id=flv_92609a8d-afa6-4832-a8b2-ac4dc2925f4b): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/raldq on line 3 Notice: Trying to get property of non-object in /in/raldq on line 4 Notice: Trying to get property of non-object in /in/raldq on line 4 Notice: Trying to get property of non-object in /in/raldq on line 4
Output for hhvm-3.10.0 - 3.13.2
Warning: Failed to open http://xlukeestvx.api.channel.livestream.com/2.0/thumbnail.json?id=flv_92609a8d-afa6-4832-a8b2-ac4dc2925f4b (Could not resolve host: xlukeestvx.api.channel.livestream.com) in /in/raldq on line 3 Notice: Cannot access property on non-object in /in/raldq on line 4 Notice: Cannot access property on non-object in /in/raldq on line 4 Notice: Cannot access property on non-object in /in/raldq on line 4