3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mem[2]["start"] = (memory_get_peak_usage(true)/1024/1024); $arr = [ "c" => [ "d" ], "d" => [], ]; $arr["d"] = $arr["c"]; $mem[2]["end"] = (memory_get_peak_usage(true)/1024/1024); var_dump($arr); var_dump($mem);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["c"]=> array(1) { [0]=> string(1) "d" } ["d"]=> array(1) { [0]=> string(1) "d" } } array(1) { [2]=> 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:
122.22 ms | 406 KiB | 5 Q