3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($num=10; $num <= 100; $num += 10) { $f = (($num * 9) / 5) + 32; echo "$num converted to fahrenheit is $f\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
10 converted to fahrenheit is 50 20 converted to fahrenheit is 68 30 converted to fahrenheit is 86 40 converted to fahrenheit is 104 50 converted to fahrenheit is 122 60 converted to fahrenheit is 140 70 converted to fahrenheit is 158 80 converted to fahrenheit is 176 90 converted to fahrenheit is 194 100 converted to fahrenheit is 212

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.49 ms | 402 KiB | 8 Q