3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "Hello\n"; setcookie("cookiename", "cookiedata"); ?>
Output for 5.2.3 - 7.2.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
Hello