3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
foo <?php session_start(); ?>
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
foo Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/g6FKH:2) in /in/g6FKH on line 2 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/g6FKH:2) in /in/g6FKH on line 2
Output for hhvm-3.10.0 - 3.12.0
foo
Output for 4.3.0 - 4.3.1
foo Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cookie - headers already sent by (output started at /in/g6FKH:2) in /in/g6FKH on line 2 Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cache limiter - headers already sent (output started at /in/g6FKH:2) in /in/g6FKH on line 2