3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num = 80; for ($num=10, $num1=$num, $max=100; $num <= $max; $num++) { if ((($num % 10) == 0)) { echo $num; echo ( " converted to fahrenheit is " ); } elseif ((5/9) * ($num1 - 32)) { echo $num1; echo ( "</br>" ); } } echo ( "</br> End Loop." ); ?>
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
10 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>20 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>30 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>40 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>50 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>60 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>70 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>80 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>90 converted to fahrenheit is 10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>10</br>100 converted to fahrenheit is </br> End Loop.

preferences:
257.53 ms | 407 KiB | 385 Q