3v4l.org

run code in 300+ PHP versions simultaneously
<?php $conf = array(); function test($p1) { global $conf; $asd = md5(sprintf($conf['11'], $p1)) .'1'; return $asd; } test('asdfgg');

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.0140.00416.50
8.3.50.0130.00617.55
8.3.40.0120.00318.44
8.3.30.0110.00318.54
8.3.20.0000.00818.78
8.3.10.0080.00018.59
8.3.00.0080.00019.25
8.2.180.0150.00016.88
8.2.170.0070.00722.96
8.2.160.0090.00618.91
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0020.00519.66
8.2.110.0000.00920.16
8.2.100.0040.00817.97
8.2.90.0000.00919.22
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0030.00517.68
8.2.50.0000.00817.79
8.2.40.0000.00819.48
8.2.30.0000.01017.82
8.2.20.0070.00317.72
8.2.10.0080.00017.74
8.2.00.0000.00717.72
8.1.280.0070.00725.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.82
8.1.230.0140.00017.71
8.1.220.0050.00317.78
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.01017.36
8.1.180.0000.00818.10
8.1.170.0000.00917.62
8.1.160.0040.00418.88
8.1.150.0000.00718.62
8.1.140.0050.00317.44
8.1.130.0000.00717.43
8.1.120.0040.00417.37
8.1.110.0040.00417.48
8.1.100.0050.00217.40
8.1.90.0050.00217.49
8.1.80.0000.00717.37
8.1.70.0000.00817.40
8.1.60.0000.00717.61
8.1.50.0040.00417.38
8.1.40.0040.00417.47
8.1.30.0030.00517.59
8.1.20.0040.00717.53
8.1.10.0000.00717.39
8.1.00.0000.00817.39
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00818.51
8.0.270.0030.00317.14
8.0.260.0060.00016.79
8.0.250.0020.00616.93
8.0.240.0000.00817.00
8.0.230.0040.00417.02
8.0.220.0030.00516.92
8.0.210.0040.00416.83
8.0.200.0000.00616.98
8.0.190.0040.00417.03
8.0.180.0040.00417.00
8.0.170.0030.00616.82
8.0.160.0000.00817.03
8.0.150.0060.00316.79
8.0.140.0000.00816.93
8.0.130.0040.00413.37
8.0.120.0110.00016.82
8.0.110.0000.00716.83
8.0.100.0000.00816.94
8.0.90.0050.00316.92
8.0.80.0080.00816.97
8.0.70.0050.00317.01
8.0.60.0090.00016.70
8.0.50.0070.00016.90
8.0.30.0060.01317.18
8.0.20.0120.00617.15
8.0.10.0040.00417.01
8.0.00.0120.00716.83
7.4.330.0030.00312.89
7.4.320.0040.00416.39
7.4.300.0000.00716.52
7.4.290.0090.00016.50
7.4.280.0040.00416.36
7.4.270.0070.00016.50
7.4.260.0000.00513.20
7.4.250.0060.00316.44
7.4.240.0040.00416.52
7.4.230.0070.00016.65
7.4.220.0030.01616.48
7.4.210.0110.00316.40
7.4.200.0000.00716.69
7.4.190.0040.00416.55
7.4.160.0030.01316.71
7.4.150.0070.01116.63
7.4.140.0110.00717.86
7.4.130.0000.01916.69
7.4.120.0090.00916.33
7.4.110.0100.01016.32
7.4.100.0130.00916.62
7.4.90.0070.01416.45
7.4.80.0100.01319.39
7.4.70.0030.01416.69
7.4.60.0140.00816.55
7.4.50.0030.00616.56
7.4.40.0110.00616.18
7.4.30.0130.00316.71
7.4.00.0090.00615.15
7.3.330.0000.00613.29
7.3.320.0050.00013.36
7.3.310.0070.00016.13
7.3.300.0030.00316.40
7.3.290.0030.01116.29
7.3.280.0110.00716.25
7.3.270.0070.01016.36
7.3.260.0060.01216.35
7.3.240.0070.01016.26
7.3.230.0060.01216.45
7.3.210.0080.00916.51
7.3.200.0030.01316.40
7.3.190.0080.00816.32
7.3.180.0090.01216.36
7.3.170.0120.00916.41
7.3.160.0120.00416.51
7.3.120.0030.01014.98
7.2.330.0110.00716.46
7.2.320.0040.01516.30
7.2.310.0090.01216.58
7.2.300.0040.01216.22
7.2.290.0150.00916.67
7.2.110.0200.00716.57
7.2.00.0030.01319.17
7.1.100.0040.01218.23
7.1.70.0040.00417.08
7.1.60.0130.01019.21
7.1.50.0040.01917.11
7.1.00.0000.07722.40
7.0.200.0000.01016.60
7.0.140.0000.07722.04
7.0.120.0030.05722.04
7.0.60.0070.08320.06
7.0.50.0100.08017.73
7.0.40.0000.04720.10
7.0.30.0230.04320.09
7.0.20.0170.07720.25
7.0.10.0330.07020.07
7.0.00.0030.07020.09
5.6.280.0070.08320.77
5.6.210.0030.04020.50
5.6.200.0030.08718.21
5.6.190.0170.07720.63
5.6.180.0230.04720.65
5.6.170.0170.05320.50
5.6.160.0070.03720.47
5.6.150.0070.05318.19
5.6.140.0070.08018.18
5.6.130.0030.05018.24
5.6.120.0030.06021.05
5.6.110.0030.05020.99
5.6.100.0130.05321.13
5.6.90.0070.08021.01
5.6.80.0070.06020.48
5.6.70.0170.04020.37
5.5.350.0130.08320.30
5.5.340.0100.07017.99
5.5.330.0100.04320.27
5.5.320.0530.06720.26
5.5.310.0330.05720.51
5.5.300.0100.05018.04
5.5.290.0130.07018.07
5.5.280.0070.03720.85
5.5.270.0130.04720.76
5.5.260.0100.07020.62
5.5.250.0030.09020.62
5.5.240.0170.05020.26
5.4.450.0030.04319.47
5.4.440.0070.05719.25
5.4.430.0030.06019.33
5.4.420.0070.04319.17
5.4.410.0030.06019.17
5.4.400.0100.03719.16
5.4.390.0100.04019.16
5.4.380.0030.04719.24
5.4.370.0070.07319.28
5.4.360.0130.06319.24
5.4.350.0070.03718.87
5.4.340.0070.07318.85
5.4.320.0100.04718.98
5.4.310.0070.08018.85
5.4.300.0130.07319.24
5.4.290.0100.04718.97
5.4.280.0100.07718.84
5.4.270.0000.06019.24
5.4.260.0170.07719.14
5.4.250.0130.07018.88
5.4.240.0070.06719.23
5.4.230.0070.04719.14
5.4.220.0030.05019.14
5.4.210.0130.06719.23
5.4.200.0100.06719.14
5.4.190.0100.06719.01
5.4.180.0030.08018.91
5.4.170.0130.07018.84
5.4.160.0070.07719.13
5.4.150.0030.05018.86
5.4.140.0100.07316.40
5.4.130.0030.07016.39
5.4.120.0070.04716.59
5.4.110.0100.07016.38
5.4.100.0070.07716.41
5.4.90.0070.05316.39
5.4.80.0100.07016.38
5.4.70.0070.06316.45
5.4.60.0070.04316.43
5.4.50.0030.03716.59
5.4.40.0100.03316.69
5.4.30.0100.07316.39
5.4.20.0070.05316.64
5.4.10.0100.07016.64
5.4.00.0170.06015.82
5.3.290.0070.08014.55
5.3.280.0130.07014.75
5.3.270.0130.07314.76
5.3.260.0030.08014.64
5.3.250.0170.04714.63
5.3.240.0070.06714.63
5.3.230.0070.04714.61
5.3.220.0070.04714.59
5.3.210.0100.04714.55
5.3.200.0030.08014.56
5.3.190.0100.06014.61
5.3.180.0100.03314.58
5.3.170.0130.06714.73
5.3.160.0070.07314.71
5.3.150.0000.05014.56
5.3.140.0070.05314.62
5.3.130.0100.06014.61
5.3.120.0030.05014.57
5.3.110.0130.07014.58
5.3.100.0070.06014.05
5.3.90.0100.07013.94
5.3.80.0100.04313.94
5.3.70.0070.07314.03
5.3.60.0100.04714.02
5.3.50.0000.04314.09
5.3.40.0130.06713.99
5.3.30.0100.06713.85
5.3.20.0030.08013.68
5.3.10.0030.05013.68
5.3.00.0100.04713.80
5.2.170.0030.04311.22
5.2.160.0070.02711.10
5.2.150.0070.06011.20
5.2.140.0100.04711.16
5.2.130.0030.06311.05
5.2.120.0030.05711.11
5.2.110.0070.06011.06
5.2.100.0000.04011.15
5.2.90.0030.03011.17
5.2.80.0070.05011.09
5.2.70.0070.06011.10
5.2.60.0070.05011.13
5.2.50.0030.03011.09
5.2.40.0000.03311.01
5.2.30.0070.06310.92
5.2.20.0000.06711.01
5.2.10.0070.04710.91
5.2.00.0100.04010.71
5.1.60.0000.0309.97
5.1.50.0070.0509.90
5.1.40.0030.0509.88
5.1.30.0100.04010.38
5.1.20.0070.05310.42
5.1.10.0070.03310.21
5.1.00.0070.05010.07
5.0.50.0030.0208.60
5.0.40.0030.0408.32
5.0.30.0000.0338.22
5.0.20.0030.0478.25
5.0.10.0000.0478.07
5.0.00.0000.0708.07
4.4.90.0030.0337.81
4.4.80.0070.0107.81
4.4.70.0000.0307.81
4.4.60.0030.0277.81
4.4.50.0030.0177.81
4.4.40.0000.0577.81
4.4.30.0000.0377.81
4.4.20.0030.0277.81
4.4.10.0100.0277.81
4.4.00.0000.0577.81
4.3.110.0000.0237.81
4.3.100.0030.0207.81
4.3.90.0030.0237.81
4.3.80.0000.0537.81
4.3.70.0070.0207.81
4.3.60.0000.0307.81
4.3.50.0030.0207.81
4.3.40.0000.0307.81
4.3.30.0000.0207.81
4.3.20.0030.0337.81
4.3.10.0030.0307.81
4.3.00.0000.0207.81

preferences:
50.43 ms | 401 KiB | 5 Q