3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /* $fp = fsockopen("127.0.0.1", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { $out = "GET / HTTP/1.1\r\n"; $out .= "Host: www.example.com\r\n"; $out .= "Connection: Close\r\n\r\n"; fwrite($fp, $out); while (!feof($fp)) { echo fgets($fp, 128); } fclose($fp); } */ false || ($s_result = 'fail' = $s_test && $s_jc = 'la lia');
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected '=' in /in/G4RlI on line 17
Process exited with code 255.