3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo memory_get_peak_usage()/(1024*1024) . 'MB', "\n"; echo memory_peak_usage()/(1024*1024) . 'MB', "\n"; $pass = str_repeat('a', 1024 * 1024 * 2); $pass . $pass; echo memory_get_peak_usage()/(1024*1024) . 'MB';
Output for git.master
0.40304565429688MB Fatal error: Uncaught Error: Call to undefined function memory_peak_usage() in /in/VcNuQ:3 Stack trace: #0 {main} thrown in /in/VcNuQ on line 3
Process exited with code 255.
Output for git.master_jit
0.36418914794922MB Fatal error: Uncaught Error: Call to undefined function memory_peak_usage() in /in/VcNuQ:3 Stack trace: #0 {main} thrown in /in/VcNuQ on line 3
Process exited with code 255.
Output for rfc.property-hooks
0.40301513671875MB Fatal error: Uncaught Error: Call to undefined function memory_peak_usage() in /in/VcNuQ:3 Stack trace: #0 {main} thrown in /in/VcNuQ on line 3
Process exited with code 255.

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