3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { foreach(range(0, 100000000000) as $foo){echo sprintf('Bonjour %s', $foo);} } catch (Throwable $t) { var_dump($t); }
Output for git.master, git.master_jit, rfc.property-hooks
object(ValueError)#1 (7) { ["message":protected]=> string(75) "The supplied range exceeds the maximum array size: start=0 end=100000000000" ["string":"Error":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(9) "/in/YhXPR" ["line":protected]=> int(3) ["trace":"Error":private]=> array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/YhXPR" ["line"]=> int(3) ["function"]=> string(5) "range" ["args"]=> array(2) { [0]=> int(0) [1]=> int(100000000000) } } } ["previous":"Error":private]=> NULL }

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:
70.15 ms | 402 KiB | 8 Q