3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); ?>
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.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 hhvm-3.10.0 - 3.12.0
Notice: Undefined index: SERVER_PROTOCOL 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