3v4l.org

run code in 300+ PHP versions simultaneously
<? $mysqli = mysqli_connect ('localhost','root','password','dbname','3306'); ?>

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.0070.01418.23
8.3.50.0140.00521.84
8.3.40.0110.00418.81
8.3.30.0160.00018.54
8.3.20.0000.00720.13
8.3.10.0060.00320.32
8.3.00.0040.00421.73
8.2.180.0040.01116.50
8.2.170.0140.00022.96
8.2.160.0100.00322.30
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0000.00721.04
8.2.120.0080.00026.35
8.2.110.0030.00619.23
8.2.100.0040.00717.80
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00717.80
8.2.50.0030.00618.09
8.2.40.0080.00020.65
8.2.30.0030.00319.29
8.2.20.0000.00717.63
8.2.10.0000.00817.84
8.2.00.0030.00618.02
8.1.280.0120.00625.92
8.1.270.0070.00721.88
8.1.260.0000.00828.09
8.1.250.0050.00228.09
8.1.240.0000.00922.46
8.1.230.0090.00317.70
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0070.00318.61
8.1.160.0000.00720.49
8.1.150.0000.00820.59
8.1.140.0000.00819.30
8.1.130.0030.00317.55
8.1.120.0030.00317.28
8.1.110.0000.00717.23
8.1.100.0000.00717.35
8.1.90.0040.00417.23
8.1.80.0030.00417.34
8.1.70.0070.00017.37
8.1.60.0100.00317.33
8.1.50.0040.00417.26
8.1.40.0020.00517.30
8.1.30.0000.00817.48
8.1.20.0070.00017.26
8.1.10.0050.00217.41
8.1.00.0000.00717.32
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.28
8.0.270.0000.00717.22
8.0.260.0000.00717.22
8.0.250.0000.00716.82
8.0.240.0060.00016.80
8.0.230.0000.00716.77
8.0.220.0040.00416.79
8.0.210.0000.00716.63
8.0.200.0000.00816.70
8.0.190.0040.00416.74
8.0.180.0030.00516.77
8.0.170.0030.00516.75
8.0.160.0000.00716.82
8.0.150.0040.00416.71
8.0.140.0000.00716.67
8.0.130.0000.00513.35
8.0.120.0080.00016.60
8.0.110.0070.00016.76
8.0.100.0030.00416.61
8.0.90.0040.00416.87
8.0.80.0130.00316.72
8.0.70.0000.00816.67
8.0.60.0000.00716.61
8.0.50.0000.00816.81
8.0.30.0140.00616.91
8.0.20.0120.00617.40
8.0.10.0040.00316.73
8.0.00.0090.00716.62
7.4.330.0000.00516.67
7.4.320.0000.00716.38
7.4.300.0060.00016.50
7.4.290.0000.00716.37
7.4.280.0000.00816.35
7.4.270.0000.00716.41
7.4.260.0040.00416.41
7.4.250.0040.00416.33
7.4.240.0080.00016.43
7.4.230.0050.00216.43
7.4.220.0090.01316.33
7.4.210.0080.00916.46
7.4.200.0080.00016.43
7.4.160.0040.01116.32
7.4.150.0180.00017.40
7.4.140.0180.00617.86
7.4.130.0100.00716.27
7.4.120.0050.01216.38
7.4.110.0120.00416.32
7.4.100.0100.01216.50
7.4.90.0090.00916.32
7.4.80.0140.00719.39
7.4.70.0060.01016.37
7.4.60.0110.00816.33
7.4.50.0060.01016.16
7.4.40.0070.01016.43
7.4.30.0040.01416.36
7.4.00.0030.01014.98
7.3.330.0000.00513.09
7.3.320.0060.00013.05
7.3.310.0030.00315.95
7.3.300.0060.00016.08
7.3.290.0070.00016.14
7.3.280.0080.01016.12
7.3.270.0100.00717.40
7.3.260.0120.00616.56
7.3.250.0120.00716.28
7.3.240.0090.00816.31
7.3.230.0090.00916.39
7.3.210.0070.01016.36
7.3.200.0170.00016.17
7.3.190.0150.00916.34
7.3.180.0130.00616.31
7.3.170.0140.00916.09
7.3.160.0080.00815.99
7.2.330.0070.01716.29
7.2.320.0070.01716.54
7.2.310.0030.01316.19
7.2.300.0120.00916.49
7.2.290.0030.01816.21
7.2.60.0060.00916.81
7.2.00.0040.00419.25
7.1.200.0100.00315.41
7.1.100.0070.00717.57
7.1.70.0000.00816.91
7.1.60.0130.00919.27
7.1.50.0030.00816.84
7.1.00.0070.07322.26
7.0.200.0260.00714.69
7.0.60.0370.06720.02
7.0.50.0030.07717.76
7.0.40.0030.07020.12
7.0.30.0300.07720.23
7.0.20.0430.06720.16
7.0.10.0000.05020.16
7.0.00.0100.08020.01
5.6.280.0100.03320.77
5.6.210.0100.07720.64
5.6.200.0030.08318.11
5.6.190.0100.08020.62
5.6.180.0170.04020.67
5.6.170.0270.03720.51
5.6.160.0000.09020.40
5.6.150.0070.03718.16
5.6.140.0070.04018.16
5.6.130.0030.04718.22
5.6.120.0130.04020.96
5.6.110.0170.07321.01
5.6.100.0130.08021.08
5.6.90.0030.07020.98
5.6.80.0170.06720.36
5.5.350.0230.06020.30
5.5.340.0030.04017.93
5.5.330.0000.04320.40
5.5.320.0530.03720.30
5.5.310.0270.04720.24
5.5.300.0030.04017.91
5.5.290.0030.08717.88
5.5.280.0070.06320.79
5.5.270.0000.09020.78
5.5.260.0070.04320.81
5.5.250.0030.05320.54
5.5.240.0100.03020.05

preferences:
48.61 ms | 401 KiB | 5 Q