3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.howtogeek.com/.com'; 3. $output = file_get_contents($url); 4. echo $output;
based on 4J3Yc
Output for 5.4.11 - 7.0.1
Parse error: syntax error, unexpected '$output' (T_VARIABLE) in /in/7rHD1 on line 3
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE in /in/7rHD1 on line 3
Process exited with code 255.