3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); echo "string"; echo '123123'; session_start();
Output for 4.3.2 - 5.6.21, 7.0.0 - 7.1.0
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 hhvm-3.10.0 - 3.12.0
string123123
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