3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); ?>
Output for 5.3.0 - 7.2.0
Notice: Undefined index: SERVER_PROTOCOL in /in/Gt09S on line 1 Warning: Cannot modify header information - headers already sent by (output started at /in/Gt09S:1) in /in/Gt09S on line 1
Output for 5.2.3 - 5.2.17
Notice: Undefined index: SERVER_PROTOCOL in /in/Gt09S on line 1 Warning: Cannot modify header information - headers already sent by (output started at /in/Gt09S:1) in /in/Gt09S on line 1
Output for 4.3.0 - 5.2.2
Notice: Undefined index: SERVER_PROTOCOL in /in/Gt09S on line 1