3v4l.org

run code in 300+ PHP versions simultaneously
<?php $FahNum=0; while ($FahNum<=100) { $FahNum += 1; $Cel = ($FahNum - 32) * 0.56; echo <p> "$FahNum converted to fahrenheit is $Cel"</p>; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.250.0100.04112.37
5.4.240.0070.04512.37
5.4.230.0050.04312.36
5.4.220.0080.03612.36
5.4.210.0090.03412.36
5.4.200.0050.03912.36
5.4.190.0060.03612.36
5.4.180.0060.03812.36
5.4.170.0070.04912.36
5.4.160.0050.03912.36
5.4.150.0090.03812.36
5.4.140.0070.04212.04
5.4.130.0080.03812.02
5.4.120.0070.03511.99
5.4.110.0040.04211.99
5.4.100.0050.03711.99
5.4.90.0070.03911.99
5.4.80.0040.04111.99
5.4.70.0070.03811.99
5.4.60.0070.03411.98
5.4.50.0050.03511.98
5.4.40.0060.03511.97
5.4.30.0050.03711.97
5.4.20.0050.03811.96
5.4.10.0090.04111.97
5.4.00.0050.03811.46
5.3.280.0090.03812.71
5.3.270.0080.03812.72
5.3.260.0060.04112.72
5.3.250.0030.04112.72
5.3.240.0050.03912.72
5.3.230.0040.04012.71
5.3.220.0070.03812.68
5.3.210.0090.03812.68
5.3.200.0070.04812.68
5.3.190.0080.04312.68
5.3.180.0060.04312.67
5.3.170.0050.04112.67
5.3.160.0090.03812.67
5.3.150.0090.04212.68
5.3.140.0090.04312.66
5.3.130.0100.04512.66
5.3.120.0060.04712.66
5.3.110.0090.04512.66
5.3.100.0050.04212.12
5.3.90.0040.03912.08
5.3.80.0050.03912.07
5.3.70.0070.03912.07
5.3.60.0090.04712.06
5.3.50.0100.04212.00
5.3.40.0080.04212.00
5.3.30.0060.03711.95
5.3.20.0080.03511.71
5.3.10.0070.03511.67
5.3.00.0040.04111.65
5.2.170.0060.0359.16
5.2.160.0070.0309.16
5.2.150.0060.0359.16
5.2.140.0050.0369.16
5.2.130.0060.0339.12
5.2.120.0050.0289.12
5.2.110.0040.0319.13
5.2.100.0040.0309.13
5.2.90.0040.0309.12
5.2.80.0070.0339.12
5.2.70.0070.0399.11
5.2.60.0050.0309.07
5.2.50.0060.0309.04
5.2.40.0060.0319.01
5.2.30.0070.0338.99
5.2.20.0050.0318.98
5.2.10.0070.0308.90
5.2.00.0050.0328.77
5.1.60.0040.0248.05
5.1.50.0050.0238.05
5.1.40.0040.0258.04
5.1.30.0040.0288.38
5.1.20.0070.0258.42
5.1.10.0030.0308.13
5.1.00.0070.0338.13
5.0.50.0040.0276.61
5.0.40.0040.0216.47
5.0.30.0040.0336.28
5.0.20.0050.0216.28
5.0.10.0050.0246.25
5.0.00.0040.0366.24
4.4.90.0040.0194.78
4.4.80.0070.0164.76
4.4.70.0030.0204.75
4.4.60.0040.0194.76
4.4.50.0050.0144.77
4.4.40.0020.0264.71
4.4.30.0030.0154.76
4.4.20.0040.0144.85
4.4.10.0050.0144.85
4.4.00.0040.0244.76
4.3.110.0010.0184.67
4.3.100.0030.0154.66
4.3.90.0030.0154.63
4.3.80.0040.0244.59
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0020.0164.63
4.3.40.0030.0254.54
4.3.30.0030.0153.30
4.3.20.0020.0163.29
4.3.10.0020.0173.25
4.3.00.0000.0236.87

preferences:
137 ms | 1398 KiB | 7 Q