3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('session.use_strict_mode', 1); $_COOKIE['PHPSESSID'] = array(); session_start();
Output for 5.4.32 - 5.6.28, 7.0.0 - 7.1.0
Output for hhvm-3.10.0 - 3.12.0
Notice: Array to string conversion in /in/7SaWc on line 5
Output for 4.3.2, 4.3.9 - 4.4.9, 5.1.3 - 5.4.31
Notice: Array to string conversion in /in/7SaWc on line 5 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/7SaWc:5) in /in/7SaWc on line 5
Output for 4.3.3 - 4.3.8, 5.0.0 - 5.1.2
Notice: Array to string conversion in /in/7SaWc on line 5 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/7SaWc:5) in /in/7SaWc on line 5 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/7SaWc:5) in /in/7SaWc on line 5
Output for 4.3.0 - 4.3.1
Notice: Array to string conversion in /in/7SaWc 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/7SaWc:5) in /in/7SaWc on line 5