3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { } catch (Throwable $t) { var_dump($t); } foreach(range(0, 10000000000000000000000000000000) as $foo){echo sprintf('Bonjour %s', $foo);}
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: The supplied range exceeds the maximum array size: start=0 end=9999999999999999635896294965248 in /in/79VHQ:7 Stack trace: #0 /in/79VHQ(7): range(0, 1.0E+31) #1 {main} thrown in /in/79VHQ on line 7
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:
59.02 ms | 401 KiB | 8 Q