3v4l.org

run code in 200+ 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 7.0.20, 7.1.5 - 7.1.10
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error 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: System error 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 5.3.0 - 7.0.14, 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