3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // ?> <?php header('Location: index.php');
Output for 7.0.20, 7.1.5 - 7.2.0
Warning: Cannot modify header information - headers already sent by (output started at /in/RvtQN:6) in /in/RvtQN on line 10
Output for 5.3.20 - 7.0.6, 7.1.0
Warning: Cannot modify header information - headers already sent by (output started at /in/RvtQN:8) in /in/RvtQN on line 10