3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = new SessionHandler(); $n->create_sid();
Output for 7.1.0
Warning: SessionHandler::create_sid(): Session is not active in /in/q2TIi on line 3
Output for 5.5.24 - 7.0.14
Fatal error: SessionHandler::create_sid(): Cannot call default session handler in Unknown on line 0
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined method SessionHandler::create_sid() in /in/q2TIi on line 3
Process exited with code 255.
Output for 5.0.0 - 5.3.29
Fatal error: Class 'SessionHandler' not found in /in/q2TIi on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: sessionhandler in /in/q2TIi on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: sessionhandler in /in/q2TIi on line 3