3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = range(0, 1e5); echo memory_get_peak_usage()/1024 . 'kB' . PHP_EOL; foreach ($array as $i => $a) { (bool)$a; } echo memory_get_peak_usage()/1024 . 'kB';
Output for git.master
2430kB 2430.1015625kB
Output for git.master_jit
2390.390625kB 2390.5kB
Output for rfc.property-hooks
2429.96875kB 2430.078125kB

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:
39.47 ms | 401 KiB | 8 Q