3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($num=-50; $num <= 50; $num += 5) { $f = (($num * 9) / 5) + 32; echo "$num converted to fahrenheit is $f\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
-50 converted to fahrenheit is -58 -45 converted to fahrenheit is -49 -40 converted to fahrenheit is -40 -35 converted to fahrenheit is -31 -30 converted to fahrenheit is -22 -25 converted to fahrenheit is -13 -20 converted to fahrenheit is -4 -15 converted to fahrenheit is 5 -10 converted to fahrenheit is 14 -5 converted to fahrenheit is 23 0 converted to fahrenheit is 32 5 converted to fahrenheit is 41 10 converted to fahrenheit is 50 15 converted to fahrenheit is 59 20 converted to fahrenheit is 68 25 converted to fahrenheit is 77 30 converted to fahrenheit is 86 35 converted to fahrenheit is 95 40 converted to fahrenheit is 104 45 converted to fahrenheit is 113 50 converted to fahrenheit is 122

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