3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $FahNum=0; while ($FahNum<=100) { $FahNum += 1; $Cel = ($FahNum - 32) * 0.56; echo " $FahNum converted to fahrenheit is $Cel <br /> "; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1 converted to fahrenheit is -17.36 <br /> 2 converted to fahrenheit is -16.8 <br /> 3 converted to fahrenheit is -16.24 <br /> 4 converted to fahrenheit is -15.68 <br /> 5 converted to fahrenheit is -15.12 <br /> 6 converted to fahrenheit is -14.56 <br /> 7 converted to fahrenheit is -14 <br /> 8 converted to fahrenheit is -13.44 <br /> 9 converted to fahrenheit is -12.88 <br /> 10 converted to fahrenheit is -12.32 <br /> 11 converted to fahrenheit is -11.76 <br /> 12 converted to fahrenheit is -11.2 <br /> 13 converted to fahrenheit is -10.64 <br /> 14 converted to fahrenheit is -10.08 <br /> 15 converted to fahrenheit is -9.52 <br /> 16 converted to fahrenheit is -8.96 <br /> 17 converted to fahrenheit is -8.4 <br /> 18 converted to fahrenheit is -7.84 <br /> 19 converted to fahrenheit is -7.28 <br /> 20 converted to fahrenheit is -6.72 <br /> 21 converted to fahrenheit is -6.16 <br /> 22 converted to fahrenheit is -5.6 <br /> 23 converted to fahrenheit is -5.04 <br /> 24 converted to fahrenheit is -4.48 <br /> 25 converted to fahrenheit is -3.92 <br /> 26 converted to fahrenheit is -3.36 <br /> 27 converted to fahrenheit is -2.8 <br /> 28 converted to fahrenheit is -2.24 <br /> 29 converted to fahrenheit is -1.68 <br /> 30 converted to fahrenheit is -1.12 <br /> 31 converted to fahrenheit is -0.56 <br /> 32 converted to fahrenheit is 0 <br /> 33 converted to fahrenheit is 0.56 <br /> 34 converted to fahrenheit is 1.12 <br /> 35 converted to fahrenheit is 1.68 <br /> 36 converted to fahrenheit is 2.24 <br /> 37 converted to fahrenheit is 2.8 <br /> 38 converted to fahrenheit is 3.36 <br /> 39 converted to fahrenheit is 3.92 <br /> 40 converted to fahrenheit is 4.48 <br /> 41 converted to fahrenheit is 5.04 <br /> 42 converted to fahrenheit is 5.6 <br /> 43 converted to fahrenheit is 6.16 <br /> 44 converted to fahrenheit is 6.72 <br /> 45 converted to fahrenheit is 7.28 <br /> 46 converted to fahrenheit is 7.84 <br /> 47 converted to fahrenheit is 8.4 <br /> 48 converted to fahrenheit is 8.96 <br /> 49 converted to fahrenheit is 9.52 <br /> 50 converted to fahrenheit is 10.08 <br /> 51 converted to fahrenheit is 10.64 <br /> 52 converted to fahrenheit is 11.2 <br /> 53 converted to fahrenheit is 11.76 <br /> 54 converted to fahrenheit is 12.32 <br /> 55 converted to fahrenheit is 12.88 <br /> 56 converted to fahrenheit is 13.44 <br /> 57 converted to fahrenheit is 14 <br /> 58 converted to fahrenheit is 14.56 <br /> 59 converted to fahrenheit is 15.12 <br /> 60 converted to fahrenheit is 15.68 <br /> 61 converted to fahrenheit is 16.24 <br /> 62 converted to fahrenheit is 16.8 <br /> 63 converted to fahrenheit is 17.36 <br /> 64 converted to fahrenheit is 17.92 <br /> 65 converted to fahrenheit is 18.48 <br /> 66 converted to fahrenheit is 19.04 <br /> 67 converted to fahrenheit is 19.6 <br /> 68 converted to fahrenheit is 20.16 <br /> 69 converted to fahrenheit is 20.72 <br /> 70 converted to fahrenheit is 21.28 <br /> 71 converted to fahrenheit is 21.84 <br /> 72 converted to fahrenheit is 22.4 <br /> 73 converted to fahrenheit is 22.96 <br /> 74 converted to fahrenheit is 23.52 <br /> 75 converted to fahrenheit is 24.08 <br /> 76 converted to fahrenheit is 24.64 <br /> 77 converted to fahrenheit is 25.2 <br /> 78 converted to fahrenheit is 25.76 <br /> 79 converted to fahrenheit is 26.32 <br /> 80 converted to fahrenheit is 26.88 <br /> 81 converted to fahrenheit is 27.44 <br /> 82 converted to fahrenheit is 28 <br /> 83 converted to fahrenheit is 28.56 <br /> 84 converted to fahrenheit is 29.12 <br /> 85 converted to fahrenheit is 29.68 <br /> 86 converted to fahrenheit is 30.24 <br /> 87 converted to fahrenheit is 30.8 <br /> 88 converted to fahrenheit is 31.36 <br /> 89 converted to fahrenheit is 31.92 <br /> 90 converted to fahrenheit is 32.48 <br /> 91 converted to fahrenheit is 33.04 <br /> 92 converted to fahrenheit is 33.6 <br /> 93 converted to fahrenheit is 34.16 <br /> 94 converted to fahrenheit is 34.72 <br /> 95 converted to fahrenheit is 35.28 <br /> 96 converted to fahrenheit is 35.84 <br /> 97 converted to fahrenheit is 36.4 <br /> 98 converted to fahrenheit is 36.96 <br /> 99 converted to fahrenheit is 37.52 <br /> 100 converted to fahrenheit is 38.08 <br /> 101 converted to fahrenheit is 38.64 <br />