3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { } for ($i = 350001; $i < 550001; $i += 10000) { print "\r" . $i; foo(...array_fill(0, $i, "")); }

Abusive script

This script was stopped while abusing our resources

Output for git.master, rfc.property-hooks
350001 360001 370001 380001 390001 400001 410001 420001 430001 440001 450001 460001 470001 480001 490001 500001 510001 520001 530001 540001
Output for git.master_jit
350001 360001 370001 380001 390001 400001 410001 420001 430001 440001 450001 Fatal error: Out of memory (allocated 10489856 bytes) (tried to allocate 7340032 bytes) in /in/434gU on line 9 mmap() failed: [12] Cannot allocate memory mmap() failed: [12] Cannot allocate memory
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:
45.65 ms | 1120 KiB | 4 Q