3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
Output<?php ob_start(); session_start();
based on JcDQd
Output for 7.2.0
Output Warning: session_start(): Cannot start session when headers already sent in /in/iPhA9 on line 5
Output for 4.3.2 - 7.1.10
Output Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/iPhA9:1) in /in/iPhA9 on line 5 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/iPhA9:1) in /in/iPhA9 on line 5
Output for 4.3.0 - 4.3.1
Output Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cookie - headers already sent by (output started at /in/iPhA9:1) in /in/iPhA9 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/iPhA9:1) in /in/iPhA9 on line 5