3v4l.org

run code in 300+ PHP versions simultaneously
<?php function rangeOfThrees($start, $limit, $step = 3) { for ($i = $start; $i <= $limit; $i += $step) { yield $i; } } foreach (rangeOfThrees(3, 99) as $number) { echo "$number\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99

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:
32.67 ms | 401 KiB | 8 Q