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 git.master, git.master_jit, rfc.property-hooks
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.

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:
41.27 ms | 403 KiB | 8 Q