3v4l.org

run code in 300+ PHP versions simultaneously
<?php $isd0 = defined('SID'); ini_set('session.use_cookies', 0); ini_set('session.use_only_cookies', 0); session_start(); $sid1 = SID; session_destroy(); session_start(); $sid2 = SID; var_dump($isd0); var_dump($sid1); var_dump($sid2);
Output for git.master
bool(false) string(42) "PHPSESSID=9a602883e55ed8b515e2da393d8bfcc7" string(42) "PHPSESSID=3251c1289e0aaeedec31e617c7f6d749"
Output for git.master_jit
bool(false) string(42) "PHPSESSID=0202e96ff1ff06ff80aae41b1b644928" string(42) "PHPSESSID=9781c3f7ca57acd29e982e81ac58c736"
Output for rfc.property-hooks
bool(false) string(42) "PHPSESSID=7191da774f647bdbc36a3d89e51cf87a" string(42) "PHPSESSID=5987d423ebbe8b31ac2ea41d4e989b8f"

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:
98.81 ms | 1148 KiB | 4 Q