3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v1 = array(); $c1 = &$v1; $v1['key'] = 'value'; echo '$c1 === $v1: ' . (($c1 === $v1) ? 'true' : 'false'); echo "\n\nDump:\n"; var_dump($c1, $v1);
Output for git.master, git.master_jit, rfc.property-hooks
$c1 === $v1: true Dump: array(1) { ["key"]=> string(5) "value" } array(1) { ["key"]=> string(5) "value" }

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:
29.83 ms | 405 KiB | 5 Q