3v4l.org

run code in 300+ PHP versions simultaneously
<?php print("Original: "); print(ini_get('memory_limit')); ini_set('memory_limit', -1); print(", New: "); print(ini_get('memory_limit')); print("\n"); $x = "123456789ABCDEF"; while (true) $x .= $x; ?>
Output for git.master, rfc.property-hooks
Original: 64M, New: -1 Fatal error: Out of memory (allocated 19927040 bytes) (tried to allocate 31457312 bytes) in /in/OtvMD on line 14 mmap() failed: [12] Cannot allocate memory mmap() failed: [12] Cannot allocate memory
Process exited with code 255.
Output for git.master_jit
Original: 64M, New: -1 Fatal error: Out of memory (allocated 12062720 bytes) (tried to allocate 15728672 bytes) in /in/OtvMD on line 14 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:
152.13 ms | 407 KiB | 5 Q