3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = base64_encode(md5('')); $start = microtime(true); for ($i = 0; $i < 10000000; ++$i) { } $end = microtime(true); echo $i/($end - $start), ' op/s';

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)
7.4.00.0070.06414.95
7.3.120.0170.07815.03
7.3.110.0100.06814.64
7.3.100.0100.06314.71
7.3.90.0000.07014.91
7.3.80.0060.06114.90
7.3.70.0070.06714.68
7.3.60.0070.06414.95
7.3.50.0000.06714.66
7.3.40.0030.07514.98
7.3.30.0070.06414.75
7.3.20.0030.06416.52
7.3.10.0050.06716.75
7.3.00.0030.06916.53
7.2.250.0070.07715.00
7.2.240.0070.07614.85
7.2.230.0030.07414.88
7.2.220.0000.08215.14
7.2.210.0000.07714.74
7.2.200.0030.07115.11
7.2.190.0070.06614.94
7.2.180.0030.07715.02
7.2.170.0030.07814.97
7.2.130.0000.07517.02
7.2.120.0000.07716.78
7.2.110.0030.06916.62
7.2.100.0070.07116.87
7.2.90.0030.07416.88
7.2.80.0030.07116.97
7.2.70.0000.07117.06
7.2.60.0060.06516.85
7.2.50.0100.06516.96
7.2.40.0030.07316.95
7.2.30.0070.07016.93
7.2.20.0070.07016.82
7.2.10.0030.07117.08
7.2.00.0080.06317.98
7.1.330.0070.15215.82
7.1.320.0070.15415.95
7.1.310.0030.14015.92
7.1.300.0070.14615.95
7.1.290.0030.14415.64
7.1.280.0000.14815.69
7.1.270.0030.13315.77
7.1.260.0000.14315.85
7.1.250.0070.13615.95
7.1.70.0030.06816.91
7.1.60.0100.10619.82
7.1.50.0100.11017.04
7.1.00.0030.16022.48
7.0.200.0030.07816.79
7.0.140.0030.15722.21
7.0.60.0070.15019.86
7.0.50.0070.11017.66
7.0.40.0070.15720.06
7.0.30.0330.11720.09
7.0.20.0300.15720.09
7.0.10.0170.09720.01
7.0.00.0100.08720.29
5.6.280.0000.28720.99
5.6.210.0100.23320.54
5.6.200.0100.25318.22
5.6.190.0130.26020.27
5.6.180.3230.21020.79
5.6.170.0270.25320.33
5.6.160.0030.26320.63
5.6.150.0030.26718.15
5.6.140.0030.20718.09
5.6.130.0100.26318.07
5.6.120.0030.22721.04
5.6.110.0170.25020.98
5.6.100.0130.23720.96
5.6.90.0030.26721.02
5.6.80.0070.26320.35
5.5.350.0030.31320.37
5.5.340.0030.27318.02
5.5.330.0030.27320.29
5.5.320.0170.20720.30
5.5.310.0230.26320.29
5.5.300.0070.21717.95
5.5.290.0030.27317.98
5.5.280.0130.25720.88
5.5.270.0170.24320.67
5.5.260.0070.26320.86
5.5.250.0100.26020.58
5.5.240.0000.21720.26
5.4.450.0070.31319.25
5.4.440.0570.31319.48
5.4.430.0100.30019.48
5.4.420.0130.30319.15
5.4.410.0100.31019.21
5.4.400.3300.00018.75
5.4.390.3230.00018.68
5.4.380.0270.40718.74
5.4.370.1100.30018.68
5.4.360.1000.30718.68
5.4.350.0630.30718.70
5.4.340.0600.31318.66
5.4.320.0060.23312.46
5.4.310.0090.22212.45
5.4.300.0050.22212.46
5.4.290.0040.21912.45
5.4.280.0060.21612.35
5.4.270.0090.22512.35
5.4.260.0100.31018.81
5.4.250.0100.28718.60
5.4.240.0000.32718.81
5.4.230.0070.29018.89
5.4.220.0170.28718.96
5.4.210.0130.28718.89
5.4.200.0170.29018.68
5.4.190.0000.30018.83
5.4.180.0070.28718.69
5.4.170.0100.29018.68
5.4.160.0070.28318.64
5.4.150.0070.29718.74
5.4.140.0030.33316.53
5.4.130.0130.27316.22
5.4.120.0070.28016.25
5.4.110.0070.29016.33
5.4.100.0100.27716.34
5.4.90.0130.27716.39
5.4.80.0070.32716.30
5.4.70.0070.30016.25
5.4.60.0070.31716.40
5.4.50.0030.30016.35
5.4.40.0070.31716.33
5.4.30.0130.28716.29
5.4.20.0200.26716.43
5.4.10.0130.28316.30
5.4.00.0070.28015.91
5.3.290.0100.27412.80
5.3.280.0070.37014.60
5.3.270.0030.38714.62
5.3.260.0030.36714.61
5.3.250.0030.36014.65
5.3.240.0100.39014.63
5.3.230.0030.40314.60
5.3.220.0100.56014.40
5.3.210.0100.37014.58
5.3.200.0130.40014.57
5.3.190.0100.36314.42
5.3.180.0100.40314.40
5.3.170.0100.41014.45
5.3.160.0070.38714.72
5.3.150.0070.42314.45
5.3.140.0000.37314.60
5.3.130.0070.36314.43
5.3.120.0070.38314.56
5.3.110.0170.43314.58
5.3.100.0070.35313.89
5.3.90.0100.42014.07
5.3.80.0170.40014.11
5.3.70.0100.44313.98
5.3.60.0070.43014.02
5.3.50.0130.40313.92
5.3.40.0100.41013.79
5.3.30.0070.43013.79
5.3.20.0000.44013.55
5.3.10.0000.42313.74
5.3.00.0070.41713.52
5.2.170.0070.51011.02
5.2.160.0030.53011.14
5.2.150.0030.50311.02
5.2.140.0130.57311.13
5.2.130.0030.54710.93
5.2.120.0100.52011.19
5.2.110.0000.55710.86
5.2.100.0000.51311.03
5.2.90.0030.54311.12
5.2.80.0130.55311.09
5.2.70.0000.51311.24
5.2.60.0100.57011.04
5.2.50.0000.53711.17
5.2.40.0100.53310.75
5.2.30.0070.53710.82
5.2.20.0000.52010.79
5.2.10.0070.50310.84
5.2.00.0070.51310.61
5.1.60.0100.5539.94
5.1.50.0070.52310.08
5.1.40.0000.53310.01
5.1.30.0000.60010.29
5.1.20.0100.56710.32
5.1.10.0030.55310.11
5.1.00.0000.51010.10
5.0.50.0001.2508.63
5.0.40.0101.1778.36
5.0.30.0101.2238.37
5.0.20.0001.1138.02
5.0.10.0001.1738.21
5.0.00.0001.2338.20
4.4.90.0031.1576.76
4.4.80.0001.1776.76
4.4.70.0071.1436.76
4.4.60.0071.1436.76
4.4.50.0101.2306.76
4.4.40.0101.1906.76
4.4.30.0131.1636.76
4.4.20.0001.1706.76
4.4.10.0031.1276.76
4.4.00.0031.1736.76
4.3.110.0101.2136.76
4.3.100.0001.1176.76
4.3.90.0171.1476.76
4.3.80.0071.1576.76
4.3.70.0071.1236.76
4.3.60.0001.1536.76
4.3.50.0001.2836.76
4.3.40.0001.1236.75
4.3.30.0031.4236.75
4.3.20.0031.1406.75
4.3.10.0071.0936.75
4.3.00.0001.1039.26

preferences:
29.2 ms | 401 KiB | 5 Q