3v4l.org

run code in 500+ PHP versions simultaneously
<?php session_name("session1"); session_id('1'); session_start(); echo session_id()."<br>"; session_write_close(); session_name("session2"); session_id('2'); session_start(); echo session_id()."<br>";
Output for git.master, git.master_jit, rfc.property-hooks
1<br> Warning: session_name(): Session name cannot be changed after headers have already been sent in /in/Hoc3Y on line 10 Warning: session_id(): Session ID cannot be changed after headers have already been sent in /in/Hoc3Y on line 11 Warning: session_start(): Session cannot be started after headers have already been sent in /in/Hoc3Y on line 12 1<br>

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:
50.73 ms | 1434 KiB | 4 Q