3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($num=10; $num <= 100; $num += 10) { echo "$num converted to fahrenheit is "; echo (($num * 9) / 5) + 32; echo "</br>"; }
Output for 4.3.0 - 7.2.0
10 converted to fahrenheit is 50</br>20 converted to fahrenheit is 68</br>30 converted to fahrenheit is 86</br>40 converted to fahrenheit is 104</br>50 converted to fahrenheit is 122</br>60 converted to fahrenheit is 140</br>70 converted to fahrenheit is 158</br>80 converted to fahrenheit is 176</br>90 converted to fahrenheit is 194</br>100 converted to fahrenheit is 212</br>