3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php session_set_save_handler( array($session_handler, 'open'), array($session_handler, 'close'), array($session_handler, 'read'), array($session_handler, 'write'), array($session_handler, 'destroy'), array($session_handler, 'gc'));
Output for 5.0.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Warning: session_set_save_handler(): Argument 1 is not a valid callback in /in/GYUsN on line 3
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Warning: Argument 1 is not a valid callback
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3
Process exited with code 139.
Output for 4.3.11 - 4.4.9
Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Warning: session_set_save_handler(): Argument 1 is not a valid callback in /in/GYUsN on line 3
Output for 4.3.0 - 4.3.10
Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3 Notice: Undefined variable: session_handler in /in/GYUsN on line 3