3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 20; $i++) { printf("%d %d %d\n", floor($i / 3), $i, ceil($i / 3)); }
Output for git.master, git.master_jit, rfc.property-hooks
0 0 0 0 1 1 0 2 1 1 3 1 1 4 2 1 5 2 2 6 2 2 7 3 2 8 3 3 9 3 3 10 4 3 11 4 4 12 4 4 13 5 4 14 5 5 15 5 5 16 6 5 17 6 6 18 6 6 19 7

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