3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(1, 100000); var_dump(memory_get_peak_usage()); foreach (array_chunk($a, 10) as $element) { } var_dump(memory_get_peak_usage());
Output for git.master
int(2488304) int(6514632)
Output for git.master_jit
int(2447800) int(6474128)
Output for rfc.property-hooks
int(2488272) int(6514600)

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.92 ms | 407 KiB | 5 Q