3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION ['test'] [ 't****' ] = 'Hello'; var_dump($_SESSION); echo "\n" . $_SESSION [ 'test' ] [ 't****' ]; $var = "test2"; for ($i = 4 ; $i > 0 ; $i--){ $var [$i] = "*"; echo "\n" . $_SESSION['test'][$var]; }
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { ["test"]=> array(1) { ["t****"]=> string(5) "Hello" } } Hello Warning: Undefined array key "test*" in /in/YANSb on line 12 Warning: Undefined array key "tes**" in /in/YANSb on line 12 Warning: Undefined array key "te***" in /in/YANSb on line 12 Hello

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.67 ms | 402 KiB | 8 Q