3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents('http://us3.php.net/file_get_contents',false, NULL, 10, 10);
Output for 7.0.20, 7.1.5 - 7.2.0
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/vXiYC on line 2 Warning: file_get_contents(http://us3.php.net/file_get_contents): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/vXiYC on line 2
Output for 5.2.6 - 7.0.14, 7.1.0
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/vXiYC on line 2 Warning: file_get_contents(http://us3.php.net/file_get_contents): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/vXiYC on line 2
Output for 5.1.0 - 5.2.5
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/vXiYC on line 2 Warning: file_get_contents(http://us3.php.net/file_get_contents): failed to open stream: Connection refused in /in/vXiYC on line 2
Output for 5.0.0 - 5.0.5
Warning: file_get_contents() expects at most 3 parameters, 5 given in /in/vXiYC on line 2
Output for 4.3.0 - 4.4.9
Warning: file_get_contents() expects at most 2 parameters, 5 given in /in/vXiYC on line 2