3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_id('öäü'); var_dump(session_start()); var_dump(session_id());
based on IX7Ga
Output for 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/Apat1 on line 4 Warning: session_start(): Failed to read session data: files (path: ) in /in/Apat1 on line 4 bool(false) string(0) ""
Output for 7.1.0 - 7.1.10
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/Apat1 on line 4 Warning: session_start(): Failed to read session data: files (path: ) in /in/Apat1 on line 4 bool(false) string(6) "öäü"
Output for 5.5.24 - 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/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(6) "öäü" 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.4.45
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "e0a5f8926014a6d6bd44ee11a8b619b7"
Output for 5.4.44
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "9762166f27d0cdaa691cfb69f86aae84"
Output for 5.4.43
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "819228232ca15171305313f56d387604"
Output for 5.4.42
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "db462b02c6aa4ca2c4f8f913d9ef7356"
Output for 5.4.41
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "229189d1828bf837602099232d445975"
Output for 5.4.40
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "50cc24dbbd736c610f12271ac37ab7c5"
Output for 5.4.39
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "606d0dde5c86a0f9c4b93f520fc40423"
Output for 5.4.38
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "e7cc551940e4f496a8254563743efab8"
Output for 5.4.37
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "4ead8b27afe85acc724f1dedf429a0aa"
Output for 5.4.36
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "6bffbfa31fbcd387e7d8056c79f9fc63"
Output for 5.4.35
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "df9a4c6aa665b4234c0c2e99998ec055"
Output for 5.4.34
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "3fe545c9ec6af32e6050dd7fb0204b0c"
Output for 5.4.32
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "80bc7336752164b4856d099edc5d7789"
Output for 5.4.31
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "c10073949d012710bcdadf939acce1d1"
Output for 5.4.30
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "d70649bb74d1ec9938f8de39ee1b18bf"
Output for 5.4.29
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "f68c2a64547dc20ae46e6d9c8f5aade9"
Output for 5.4.28
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "4a4b63db58e870a83d3f1c81bbda5424"
Output for 5.4.27
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "6370642cf329345131a3c0cf331fe676"
Output for 5.4.26
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "01a31e6aacc6ead8e760ecae98fde09e"
Output for 5.4.25
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "e9913860387369938ae91617c11c098f"
Output for 5.4.24
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "6339bbfedd4481d878f65749172b2618"
Output for 5.4.23
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "2a051ddf5df59e5668de0dde96a3fa91"
Output for 5.4.22
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "3c09b6b022fecfdf61e0ea689573f839"
Output for 5.4.21
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "6d6a49e22f55e6ebfcf739a61e97e1f1"
Output for 5.4.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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "301583ca62a21f15892fac3b88c246bd"
Output for 5.4.19
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "0aaa4fc65b2a2901008143c253c3399a"
Output for 5.4.18
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "53ffa6ecdfa629a8ffe2c53dc407d821"
Output for 5.4.17
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "11d37471753d45d6f772f8b40f69dd12"
Output for 5.4.16
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "0340467560bf74ace9a17c16b6c7ea60"
Output for 5.4.15
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "5f4ac1e47100970e6293f0b81c5a7b89"
Output for 5.4.14
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "7e3d17419266d6a279d2425478c153e2"
Output for 5.4.13
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "25427daee44dbe2e0952ea6c82caa199"
Output for 5.4.12
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "fd01c75dac0f37ecac22cb8527b7e59d"
Output for 5.4.11
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "af6755548351265a4581f6c0cc3dfa7c"
Output for 5.3.29
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "75497fa617ef6a366c4e717276032418"
Output for 5.3.28
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "10d35fc90d4964a85218e1a00aec4380"
Output for 5.3.27
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "fce196ba60e19a4c2627b1314a47ecc5"
Output for 5.3.26
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "9accad65de1edb2eb60fd2ec102c9189"
Output for 5.3.25
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "cce60e67be51805c0c3c67c175dc6bbe"
Output for 5.3.24
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "6ceb06d31453c2c49d8d93cc7b06c4d3"
Output for 5.3.23
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "e06f0dd53245c875bd8d29890ebe85d9"
Output for 5.3.22
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "34168e18067a50e52be88f80d0f688e9"
Output for 5.3.21
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/Apat1 on line 4 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/Apat1:4) in /in/Apat1 on line 4 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Apat1:4) in /in/Apat1 on line 4 bool(true) string(32) "cb230fa0f592c298b69c9d29f458437e"