3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($_SESSION); session_start(); $_SESSION["test"] = 123; var_dump($_SESSION); session_write_close(); $_SESSION["test"] = 123456; var_dump($_SESSION);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined global variable $_SESSION in /in/VQtQC on line 2 NULL Warning: session_start(): Session cannot be started after headers have already been sent in /in/VQtQC on line 3 array(1) { ["test"]=> int(123) } array(1) { ["test"]=> int(123456) }

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:
63.4 ms | 402 KiB | 8 Q