3v4l.org

run code in 300+ PHP versions simultaneously
<?php mysqli_connect('host','db','user','pass');

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.0120.00918.31
8.3.50.0140.00621.92
8.3.40.0080.01218.84
8.3.30.0140.00718.67
8.3.20.0000.00820.34
8.3.10.0000.00820.48
8.3.00.0060.01223.48
8.2.180.0140.00316.75
8.2.170.0150.00022.96
8.2.160.0130.00722.25
8.2.150.0150.00025.66
8.2.140.0080.00024.66
8.2.130.0150.00421.19
8.2.120.0030.00626.35
8.2.110.0100.01020.52
8.2.100.0070.00417.84
8.2.90.0080.00019.09
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0000.00817.80
8.2.50.0080.00018.09
8.2.40.0040.00420.30
8.2.30.0070.00019.38
8.2.20.0000.00817.57
8.2.10.0040.00418.00
8.2.00.0080.00018.01
8.1.280.0110.01125.92
8.1.270.0030.01322.22
8.1.260.0120.00628.09
8.1.250.0030.01328.09
8.1.240.0060.00322.05
8.1.230.0070.00417.42
8.1.220.0050.00217.74
8.1.210.0000.00818.77
8.1.200.0050.00517.23
8.1.190.0000.00817.00
8.1.180.0050.00318.10
8.1.170.0030.00618.59
8.1.160.0030.00520.64
8.1.150.0000.00818.84
8.1.140.0000.00819.49
8.1.130.0070.00017.49
8.1.120.0050.00217.38
8.1.110.0040.00317.18
8.1.100.0000.00717.21
8.1.90.0070.00017.24
8.1.80.0030.00517.35
8.1.70.0050.00217.37
8.1.60.0030.00617.49
8.1.50.0030.00517.51
8.1.40.0040.00417.45
8.1.30.0040.00417.61
8.1.20.0000.00717.33
8.1.10.0040.00417.55
8.1.00.0000.00717.49
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.30
8.0.270.0070.00017.12
8.0.260.0030.00717.18
8.0.250.0030.00616.97
8.0.240.0000.00816.96
8.0.230.0030.00516.93
8.0.220.0000.00716.79
8.0.210.0000.00716.84
8.0.200.0050.00316.84
8.0.190.0030.00317.02
8.0.180.0120.00016.91
8.0.170.0040.00416.94
8.0.160.0030.00516.88
8.0.150.0070.00016.73
8.0.140.0000.00716.80
8.0.130.0060.00013.30
8.0.120.0000.00816.91
8.0.110.0030.00516.89
8.0.100.0050.00216.72
8.0.90.0040.00416.76
8.0.80.0100.00416.82
8.0.70.0040.00416.86
8.0.60.0000.00716.93
8.0.50.0080.00016.91
8.0.30.0110.00717.06
8.0.20.0150.00617.40
8.0.10.0000.00716.91
8.0.00.0070.01216.74
7.4.330.0020.00216.69
7.4.320.0030.00316.46
7.4.300.0060.00016.45
7.4.290.0000.00816.57
7.4.280.0070.00016.44
7.4.270.0000.00716.45
7.4.260.0040.00416.59
7.4.250.0000.00816.52
7.4.240.0040.00416.50
7.4.230.0050.00216.32
7.4.220.0200.00316.58
7.4.210.0090.00616.34
7.4.200.0030.00316.46
7.4.160.0070.00716.34
7.4.150.0070.01117.40
7.4.140.0070.01317.86
7.4.130.0130.00616.45
7.4.120.0110.01216.41
7.4.110.0120.00916.47
7.4.100.0040.01216.58
7.4.90.0070.01416.28
7.4.80.0140.00319.39
7.4.70.0090.00916.37
7.4.60.0100.01016.42
7.4.50.0040.00716.47
7.4.40.0130.00316.43
7.4.30.0060.01016.44
7.4.00.0070.00714.77
7.3.330.0070.00013.01
7.3.320.0030.00513.11
7.3.310.0090.00016.31
7.3.300.0000.00716.20
7.3.290.0070.01116.27
7.3.280.0080.00816.31
7.3.270.0060.01117.40
7.3.260.0140.00316.48
7.3.250.0120.01816.46
7.3.240.0090.01316.35
7.3.230.0090.00916.47
7.3.210.0060.01116.30
7.3.200.0090.01216.45
7.3.190.0090.01216.47
7.3.180.0090.00616.45
7.3.170.0100.00616.43
7.3.160.0120.00316.52
7.3.10.0120.00316.58
7.3.00.0110.00316.50
7.2.330.0060.01416.23
7.2.320.0100.00716.21
7.2.310.0140.00316.59
7.2.300.0080.00816.30
7.2.290.0120.00916.55
7.2.130.0030.01016.78
7.2.120.0050.00516.71
7.2.110.0100.00616.58
7.2.100.0050.00516.67
7.2.90.0060.00916.76
7.2.80.0040.00816.91
7.2.70.0110.00716.59
7.2.60.0060.00916.77
7.2.50.0070.00716.77
7.2.40.0070.00816.55
7.2.30.0040.01516.97
7.2.20.0030.01216.41
7.2.10.0110.00416.69
7.2.00.0060.00918.04
7.1.250.0080.00415.78
7.1.200.0040.00815.72
7.1.100.0110.00417.63
7.1.70.0000.00817.00
7.1.60.0110.01419.19
7.1.50.0070.01416.95
7.1.00.0030.08722.45
7.0.200.0330.00714.42
7.0.60.0170.08021.59
7.0.50.0030.08717.88
7.0.40.0070.04020.19
7.0.30.0400.04320.02
7.0.20.0230.03720.25
7.0.10.0070.06320.00
7.0.00.0070.08320.09
5.6.280.0030.05721.02
5.6.210.0100.03320.55
5.6.200.0070.04018.22
5.6.190.0030.09320.33
5.6.180.0230.03720.39
5.6.170.0230.04320.33
5.6.160.0100.03320.71
5.6.150.0100.07318.15
5.6.140.0070.06018.21
5.6.130.0030.08318.18
5.6.120.0130.07721.04
5.6.110.0130.08020.98
5.6.100.0100.06720.97
5.6.90.0130.06321.12
5.6.80.0030.04020.41
5.5.350.0430.06020.43
5.5.340.0000.04017.96
5.5.330.0030.04720.38
5.5.320.0270.03320.36
5.5.310.0300.06320.34
5.5.300.0100.05017.95
5.5.290.0070.04317.89
5.5.280.0200.07020.77
5.5.270.0070.08320.79
5.5.260.0070.07720.86
5.5.250.0100.07320.57
5.5.240.0000.08720.25

preferences:
51.33 ms | 401 KiB | 5 Q