3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('display_errors', 1); setcookie('foo', 'bar'); setcookie('foo', 'something');
based on ij8dp
Output for 4.3.0, 5.4.35 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.3 - 5.4.34
Warning: ini_set() has been disabled for security reasons in /in/0UfVS on line 3 Warning: Cannot modify header information - headers already sent by (output started at /in/0UfVS:3) in /in/0UfVS on line 5 Warning: Cannot modify header information - headers already sent by (output started at /in/0UfVS:3) in /in/0UfVS on line 6
Output for 4.3.5 - 5.2.2
Warning: ini_set() has been disabled for security reasons in /in/0UfVS on line 3
Output for 4.3.1 - 4.3.4
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/0UfVS on line 3