3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Some random code ?> <?php session_start();
based on 4mrg8
Output for 7.2.0
Warning: session_start(): Cannot start session when headers already sent in /in/8mBpp on line 9
Output for 7.0.20, 7.1.5 - 7.1.10
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/8mBpp:6) in /in/8mBpp on line 9 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/8mBpp:6) in /in/8mBpp on line 9
Output for 5.3.20 - 7.0.6, 7.1.0
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/8mBpp:7) in /in/8mBpp on line 9 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/8mBpp:7) in /in/8mBpp on line 9