3v4l.org

run code in 300+ PHP versions simultaneously
<?php function sum($a):float { return null; } sum(0);

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)
8.3.60.0040.01118.30
8.3.50.0100.01016.68
8.3.40.0040.01118.97
8.3.30.0110.00418.50
8.3.20.0030.00518.98
8.3.10.0080.00023.52
8.3.00.0080.00019.54
8.2.180.0090.00918.29
8.2.170.0070.01022.96
8.2.160.0130.00320.39
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00422.08
8.2.120.0000.00826.35
8.2.110.0030.00620.52
8.2.100.0060.00617.90
8.2.90.0080.00019.23
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0040.00422.33
8.2.30.0000.00720.97
8.2.20.0070.00017.98
8.2.10.0070.00018.10
8.2.00.0030.00518.04
8.1.280.0060.01225.92
8.1.270.0000.00822.02
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0060.00320.73
8.1.230.0030.00819.07
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0090.00017.23
8.1.190.0090.00017.22
8.1.180.0050.00318.10
8.1.170.0040.00418.53
8.1.160.0000.00718.95
8.1.150.0040.00420.49
8.1.140.0030.00619.34
8.1.130.0080.00018.71
8.1.120.0040.00417.35
8.1.110.0000.00817.33
8.1.100.0000.00717.21
8.1.90.0000.00817.29
8.1.80.0030.00417.24
8.1.70.0000.00717.32
8.1.60.0040.00417.55
8.1.50.0030.00517.39
8.1.40.0040.00417.45
8.1.30.0060.00317.44
8.1.20.0030.00717.52
8.1.10.0030.00617.51
8.1.00.0000.00717.39
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0040.00418.45
8.0.270.0030.00317.05
8.0.260.0000.00816.77
8.0.250.0030.00316.85
8.0.240.0060.00316.82
8.0.230.0070.00016.86
8.0.220.0030.00316.84
8.0.210.0000.00716.86
8.0.200.0030.00316.98
8.0.190.0030.00616.87
8.0.180.0040.00416.90
8.0.170.0040.00416.91
8.0.160.0040.00416.93
8.0.150.0030.00316.86
8.0.140.0000.00716.85
8.0.130.0030.00313.29
8.0.120.0000.00716.83
8.0.110.0040.00416.81
8.0.100.0000.00716.89
8.0.90.0020.00516.77
8.0.80.0090.01216.77
8.0.70.0000.00716.84
8.0.60.0000.00716.76
8.0.50.0080.00016.68
8.0.30.0090.00916.89
8.0.20.0060.01217.40
8.0.10.0040.00416.86
8.0.00.0110.00816.77
7.4.330.0030.00315.55
7.4.320.0070.00016.46
7.4.300.0000.00716.57
7.4.290.0080.00016.42
7.4.280.0040.00416.47
7.4.270.0070.00016.52
7.4.260.0050.00013.19
7.4.250.0000.00716.38
7.4.240.0030.00316.34
7.4.230.0040.00416.55
7.4.220.0170.01016.42
7.4.210.0070.00716.61
7.4.200.0040.00416.52
7.4.160.0120.00716.40
7.4.150.0060.01217.40
7.4.140.0110.00817.86
7.4.130.0100.01316.38
7.4.120.0160.00416.32
7.4.110.0120.00616.63
7.4.100.0130.00316.35
7.4.90.0090.00916.30
7.4.80.0130.00319.39
7.4.70.0120.00916.61
7.4.60.0070.01016.43
7.4.50.0090.00216.26
7.4.40.0100.00716.40
7.4.30.0120.00416.40
7.4.00.0030.01314.90
7.3.330.0000.00513.11
7.3.320.0000.00513.27
7.3.310.0070.00016.09
7.3.300.0060.00016.14
7.3.290.0070.00816.27
7.3.280.0110.00616.26
7.3.270.0080.00817.40
7.3.260.0050.01216.37
7.3.250.0110.01016.33
7.3.240.0090.00816.29
7.3.230.0100.01016.57
7.3.210.0070.01016.42
7.3.200.0120.00316.40
7.3.190.0090.00616.32
7.3.180.0130.00316.38
7.3.170.0060.00916.31
7.3.160.0070.01116.44
7.2.330.0120.01316.63
7.2.320.0090.00816.57
7.2.310.0070.01416.28
7.2.300.0190.00316.27
7.2.290.0030.01316.65
7.2.60.0080.00816.94
7.1.200.0030.01015.55
7.1.70.3100.00715.07
7.1.60.1730.01333.14
7.1.50.2300.01332.85
7.1.40.1530.00732.39
7.1.30.0200.01032.60
7.1.20.1600.01332.59
7.1.10.1900.01714.70
7.1.00.3170.01714.77
7.0.200.3400.01314.82
7.0.190.2970.01014.60
7.0.180.1700.01014.39
7.0.170.2330.01014.45
7.0.160.2300.01014.24
7.0.150.1570.01014.39
7.0.140.2630.00714.55
7.0.130.2700.01314.48
7.0.120.2200.01714.64
7.0.110.2800.01014.42
7.0.100.2670.01314.31
7.0.90.2470.00714.51
7.0.80.2070.00314.21
7.0.70.1830.01014.28
7.0.60.2370.01014.22
7.0.50.2070.01314.36
7.0.40.2200.01714.43
7.0.30.2300.01314.55
7.0.20.0370.00714.32
7.0.10.1400.00714.62
7.0.00.2030.01014.42

preferences:
39.24 ms | 400 KiB | 5 Q