3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "Hello\n"; setcookie("cookiename", "cookiedata"); ?>
Output for 5.2.3 - 5.6.28, 7.0.0 - 7.1.0
Hello Warning: Cannot modify header information - headers already sent by (output started at /in/fC4r9:3) in /in/fC4r9 on line 5
Output for 4.3.0 - 5.2.2, hhvm-3.10.0 - 3.12.0
Hello