3v4l.org

run code in 200+ 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 - 7.1.10
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