3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'adf'; session_start(); session_start();
based on PJa9D
Output for 7.2.0
adf Warning: session_start(): Cannot start session when headers already sent in /in/aJu5O on line 6 Warning: session_start(): Cannot start session when headers already sent in /in/aJu5O on line 7
Output for 7.1.0 - 7.1.7
adf Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/aJu5O:5) in /in/aJu5O on line 6 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/aJu5O:5) in /in/aJu5O on line 6 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/aJu5O:5) in /in/aJu5O on line 7 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/aJu5O:5) in /in/aJu5O on line 7
Output for 4.3.3 - 5.6.30, 7.0.0 - 7.0.20
adf Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/aJu5O:5) in /in/aJu5O on line 6 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/aJu5O:5) in /in/aJu5O on line 6 Notice: A session had already been started - ignoring session_start() in /in/aJu5O on line 7
Output for hhvm-3.10.1 - 3.11.1, hhvm-3.13.2, hhvm-3.17.3
adf Notice: A session had already been started - ignoring session_start() in /in/aJu5O on line 7
Output for hhvm-3.12.14, hhvm-3.15.4

Process exited with code 137.
Output for 4.3.2
adf Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/aJu5O:5) in /in/aJu5O on line 6 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/aJu5O:5) in /in/aJu5O on line 6
Output for 4.3.0 - 4.3.1
adf Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cookie - headers already sent by (output started at /in/aJu5O:5) in /in/aJu5O on line 6 Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cache limiter - headers already sent (output started at /in/aJu5O:5) in /in/aJu5O on line 6