3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mem[1]["start"] = (memory_get_peak_usage(true)/1024/1024); $arr = [ "c" => [ "d" ], "d" => [], ]; $arr["d"] =& $arr["c"]; $mem[1]["end"] = (memory_get_peak_usage(true)/1024/1024); var_dump($arr); var_dump($mem);
Output for rfc.property-hooks, git.master, git.master_jit
array(2) { ["c"]=> &array(1) { [0]=> string(1) "d" } ["d"]=> &array(1) { [0]=> string(1) "d" } } array(1) { [1]=> array(2) { ["start"]=> int(2) ["end"]=> int(2) } }

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:
19.26 ms | 2205 KiB | 4 Q