3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n = rand(2, PHP_INT_MAX); $range = range(1, $n); foreach ($range as $i){ foreach ($range as $j){ echo $i * $j, "\t"; } echo PHP_EOL; } ?>
Output for git.master
Fatal error: Uncaught ValueError: The supplied range exceeds the maximum array size: start=1 end=7417418863666390612 in /in/jnq7q:3 Stack trace: #0 /in/jnq7q(3): range(1, 7417418863666390612) #1 {main} thrown in /in/jnq7q on line 3
Process exited with code 255.
Output for git.master_jit
Fatal error: Uncaught ValueError: The supplied range exceeds the maximum array size: start=1 end=1768735988310183444 in /in/jnq7q:3 Stack trace: #0 /in/jnq7q(3): range(1, 1768735988310183444) #1 {main} thrown in /in/jnq7q 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:
45.1 ms | 401 KiB | 7 Q