3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //Save the imgur homepage as a variable $result = file_get_contents("http://www.imgur.com"); //Replace every occurance of the word "sign" with "Tater" $result = str_replace("sign","Tater",$result); //Output the result echo $result; ?>
Output for 5.3.18 - 7.3.1
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/HXsuU on line 3 Warning: file_get_contents(http://www.imgur.com): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/HXsuU on line 3