3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_id('öäü'); var_dump(session_start());
Output for 7.1.0 - 7.2.0
Warning: session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /in/HXRoR on line 4 Warning: session_start(): Failed to read session data: files (path: ) in /in/HXRoR on line 4 bool(false)
Output for 5.5.2 - 7.0.20
Warning: session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /in/HXRoR on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/HXRoR:4) in /in/HXRoR on line 4 bool(true) Warning: Unknown: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
Output for 5.5.0 - 5.5.1
Warning: session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /in/HXRoR on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/HXRoR:4) in /in/HXRoR on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/HXRoR:4) in /in/HXRoR on line 4 bool(true)