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/n"; }
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/n2 converted to fahrenheit is -16.8/n3 converted to fahrenheit is -16.24/n4 converted to fahrenheit is -15.68/n5 converted to fahrenheit is -15.12/n6 converted to fahrenheit is -14.56/n7 converted to fahrenheit is -14/n8 converted to fahrenheit is -13.44/n9 converted to fahrenheit is -12.88/n10 converted to fahrenheit is -12.32/n11 converted to fahrenheit is -11.76/n12 converted to fahrenheit is -11.2/n13 converted to fahrenheit is -10.64/n14 converted to fahrenheit is -10.08/n15 converted to fahrenheit is -9.52/n16 converted to fahrenheit is -8.96/n17 converted to fahrenheit is -8.4/n18 converted to fahrenheit is -7.84/n19 converted to fahrenheit is -7.28/n20 converted to fahrenheit is -6.72/n21 converted to fahrenheit is -6.16/n22 converted to fahrenheit is -5.6/n23 converted to fahrenheit is -5.04/n24 converted to fahrenheit is -4.48/n25 converted to fahrenheit is -3.92/n26 converted to fahrenheit is -3.36/n27 converted to fahrenheit is -2.8/n28 converted to fahrenheit is -2.24/n29 converted to fahrenheit is -1.68/n30 converted to fahrenheit is -1.12/n31 converted to fahrenheit is -0.56/n32 converted to fahrenheit is 0/n33 converted to fahrenheit is 0.56/n34 converted to fahrenheit is 1.12/n35 converted to fahrenheit is 1.68/n36 converted to fahrenheit is 2.24/n37 converted to fahrenheit is 2.8/n38 converted to fahrenheit is 3.36/n39 converted to fahrenheit is 3.92/n40 converted to fahrenheit is 4.48/n41 converted to fahrenheit is 5.04/n42 converted to fahrenheit is 5.6/n43 converted to fahrenheit is 6.16/n44 converted to fahrenheit is 6.72/n45 converted to fahrenheit is 7.28/n46 converted to fahrenheit is 7.84/n47 converted to fahrenheit is 8.4/n48 converted to fahrenheit is 8.96/n49 converted to fahrenheit is 9.52/n50 converted to fahrenheit is 10.08/n51 converted to fahrenheit is 10.64/n52 converted to fahrenheit is 11.2/n53 converted to fahrenheit is 11.76/n54 converted to fahrenheit is 12.32/n55 converted to fahrenheit is 12.88/n56 converted to fahrenheit is 13.44/n57 converted to fahrenheit is 14/n58 converted to fahrenheit is 14.56/n59 converted to fahrenheit is 15.12/n60 converted to fahrenheit is 15.68/n61 converted to fahrenheit is 16.24/n62 converted to fahrenheit is 16.8/n63 converted to fahrenheit is 17.36/n64 converted to fahrenheit is 17.92/n65 converted to fahrenheit is 18.48/n66 converted to fahrenheit is 19.04/n67 converted to fahrenheit is 19.6/n68 converted to fahrenheit is 20.16/n69 converted to fahrenheit is 20.72/n70 converted to fahrenheit is 21.28/n71 converted to fahrenheit is 21.84/n72 converted to fahrenheit is 22.4/n73 converted to fahrenheit is 22.96/n74 converted to fahrenheit is 23.52/n75 converted to fahrenheit is 24.08/n76 converted to fahrenheit is 24.64/n77 converted to fahrenheit is 25.2/n78 converted to fahrenheit is 25.76/n79 converted to fahrenheit is 26.32/n80 converted to fahrenheit is 26.88/n81 converted to fahrenheit is 27.44/n82 converted to fahrenheit is 28/n83 converted to fahrenheit is 28.56/n84 converted to fahrenheit is 29.12/n85 converted to fahrenheit is 29.68/n86 converted to fahrenheit is 30.24/n87 converted to fahrenheit is 30.8/n88 converted to fahrenheit is 31.36/n89 converted to fahrenheit is 31.92/n90 converted to fahrenheit is 32.48/n91 converted to fahrenheit is 33.04/n92 converted to fahrenheit is 33.6/n93 converted to fahrenheit is 34.16/n94 converted to fahrenheit is 34.72/n95 converted to fahrenheit is 35.28/n96 converted to fahrenheit is 35.84/n97 converted to fahrenheit is 36.4/n98 converted to fahrenheit is 36.96/n99 converted to fahrenheit is 37.52/n100 converted to fahrenheit is 38.08/n101 converted to fahrenheit is 38.64/n