3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0; $i<60; $i++) { echo($i.' --> '.(($i%7)%3).PHP_EOL); }
Output for git.master, git.master_jit, rfc.property-hooks
0 --> 0 1 --> 1 2 --> 2 3 --> 0 4 --> 1 5 --> 2 6 --> 0 7 --> 0 8 --> 1 9 --> 2 10 --> 0 11 --> 1 12 --> 2 13 --> 0 14 --> 0 15 --> 1 16 --> 2 17 --> 0 18 --> 1 19 --> 2 20 --> 0 21 --> 0 22 --> 1 23 --> 2 24 --> 0 25 --> 1 26 --> 2 27 --> 0 28 --> 0 29 --> 1 30 --> 2 31 --> 0 32 --> 1 33 --> 2 34 --> 0 35 --> 0 36 --> 1 37 --> 2 38 --> 0 39 --> 1 40 --> 2 41 --> 0 42 --> 0 43 --> 1 44 --> 2 45 --> 0 46 --> 1 47 --> 2 48 --> 0 49 --> 0 50 --> 1 51 --> 2 52 --> 0 53 --> 1 54 --> 2 55 --> 0 56 --> 0 57 --> 1 58 --> 2 59 --> 0

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