3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); echo "string"; echo '123123'; session_start();
Output for 7.2.0
string123123 Warning: session_start(): Cannot start session when headers already sent in /in/fj1NS on line 5
Output for 4.3.2 - 7.1.10
string123123 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/fj1NS:3) in /in/fj1NS on line 5 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/fj1NS:3) in /in/fj1NS on line 5
Output for 4.3.0 - 4.3.1
string123123 Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cookie - headers already sent by (output started at /in/fj1NS:3) in /in/fj1NS on line 5 Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cache limiter - headers already sent (output started at /in/fj1NS:3) in /in/fj1NS on line 5