3v4l.org

run code in 200+ PHP versions simultaneously
output <?php session_start(); session_start();
Output for 7.2.0 - 7.4.6
output Warning: session_start(): Cannot start session when headers already sent in /in/NXiYR on line 4 Warning: session_start(): Cannot start session when headers already sent in /in/NXiYR on line 5
Output for 7.1.5 - 7.1.33
output Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/NXiYR:1) in /in/NXiYR on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/NXiYR:1) in /in/NXiYR on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/NXiYR:1) in /in/NXiYR on line 5 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/NXiYR:1) in /in/NXiYR on line 5
Output for 7.1.0
output Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/NXiYR:2) in /in/NXiYR on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/NXiYR:2) in /in/NXiYR on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/NXiYR:2) in /in/NXiYR on line 5 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/NXiYR:2) in /in/NXiYR on line 5
Output for 7.0.20
output Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/NXiYR:1) in /in/NXiYR on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/NXiYR:1) in /in/NXiYR on line 4 Notice: A session had already been started - ignoring session_start() in /in/NXiYR on line 5
Output for 5.6.0 - 7.0.8
output Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/NXiYR:2) in /in/NXiYR on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/NXiYR:2) in /in/NXiYR on line 4 Notice: A session had already been started - ignoring session_start() in /in/NXiYR on line 5