3v4l.org

run code in 300+ PHP versions simultaneously
<?php function oeffne($speicherpfad, $session_name) { echo $session_name; return(true); } function schliesse() { echo 'close'; return(true); } function lese($id) { echo 'read'; return ''; } function schreibe($id, $sess_daten) { echo 'write'; return true; } function loesche($id) { echo 'destory'; return true; } function gc($maxlifetime) { echo 'gc'; return true; } session_set_save_handler("oeffne", "schliesse", "lese", "schreibe", "loesche", "gc"); session_start(); session_destroy(); echo' SS';
Output for git.master, git.master_jit, rfc.property-hooks
PHPSESSID Warning: session_start(): Session cookie cannot be sent after headers have already been sent (output started at /in/hNWqD:6) in /in/hNWqD on line 42 readclose Warning: session_start(): Session cache limiter cannot be sent after headers have already been sent (output started at /in/hNWqD:6) in /in/hNWqD on line 42 Warning: session_destroy(): Trying to destroy uninitialized session in /in/hNWqD on line 43 SS

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
52.37 ms | 402 KiB | 8 Q