3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysqli = new mysqli("192.168.1.201", "dbmaster", "M4lert@dm1n", "malertDB"); if ($mysqli->connect_errno) { echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; }

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.00716.36
8.3.50.0100.00922.76
8.3.40.0120.00319.02
8.3.30.0100.00319.08
8.3.20.0070.00020.29
8.3.10.0040.00423.48
8.3.00.0090.00019.26
8.2.180.0220.00016.38
8.2.170.0100.00722.96
8.2.160.0090.00620.32
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0040.00421.08
8.2.110.0030.00622.24
8.2.100.0070.00420.48
8.2.90.0050.00319.16
8.2.80.0030.00617.97
8.2.70.0000.00917.63
8.2.60.0050.00317.91
8.2.50.0000.00918.07
8.2.40.0060.00617.96
8.2.30.0000.00718.05
8.2.20.0080.00017.62
8.2.10.0000.00717.88
8.2.00.0070.00017.56
8.1.280.0110.00325.92
8.1.270.0050.00323.82
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.14
8.1.230.0040.00719.02
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0040.00417.00
8.1.190.0080.00017.23
8.1.180.0060.00318.10
8.1.170.0030.00618.55
8.1.160.0080.00021.94
8.1.150.0080.00018.68
8.1.140.0000.00717.33
8.1.130.0000.00817.68
8.1.120.0040.00417.28
8.1.110.0000.00717.32
8.1.100.0000.00717.37
8.1.90.0000.00717.33
8.1.80.0030.00317.29
8.1.70.0030.00617.30
8.1.60.0000.00917.47
8.1.50.0000.00817.36
8.1.40.0000.00717.45
8.1.30.0060.00317.59
8.1.20.0000.00717.49
8.1.10.0000.00717.41
8.1.00.0070.00017.30
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0070.00018.44
8.0.270.0070.00017.18
8.0.260.0030.00317.16
8.0.250.0030.00316.93
8.0.240.0030.00316.83
8.0.230.0070.00016.93
8.0.220.0040.00416.95
8.0.210.0040.00416.81
8.0.200.0000.00616.80
8.0.190.0050.00216.87
8.0.180.0070.00016.81
8.0.170.0000.00816.92
8.0.160.0060.00316.92
8.0.150.0000.00716.83
8.0.140.0000.00716.89
8.0.130.0050.00313.35
8.0.120.0000.00716.85
8.0.110.0000.00716.86
8.0.100.0040.00416.71
8.0.90.0040.00416.98
8.0.80.0110.00416.89
8.0.70.0060.00316.80
8.0.60.0040.00416.77
8.0.50.0070.00016.88
8.0.30.0120.00817.08
8.0.20.0090.01217.40
8.0.10.0000.00716.94
8.0.00.0050.01316.62
7.4.330.0050.00015.00
7.4.320.0000.00716.50
7.4.300.0030.00316.36
7.4.290.0000.00716.44
7.4.280.0030.00316.57
7.4.270.0000.00716.50
7.4.260.0030.00316.45
7.4.250.0070.00016.51
7.4.240.0000.00716.48
7.4.230.0000.00716.55
7.4.220.0120.01016.43
7.4.210.0130.00616.37
7.4.200.0030.00316.53
7.4.160.0110.00416.56
7.4.150.0130.00917.40
7.4.140.0120.00817.86
7.4.130.0050.01416.57
7.4.120.0070.00916.43
7.4.110.0030.01416.63
7.4.100.0120.00316.46
7.4.90.0100.00716.30
7.4.80.0070.01019.39
7.4.70.0080.00816.48
7.4.60.0100.00616.44
7.4.50.0040.00416.28
7.4.40.0030.01316.39
7.4.30.0090.00616.49
7.4.00.0070.00714.82
7.3.330.0030.00312.99
7.3.320.0030.00313.11
7.3.310.0030.00316.20
7.3.300.0000.00716.07
7.3.290.0140.00016.27
7.3.280.0070.01016.31
7.3.270.0130.00817.40
7.3.260.0090.00816.30
7.3.250.0120.00516.33
7.3.240.0030.01316.24
7.3.230.0070.00916.39
7.3.210.0170.00716.23
7.3.200.0090.00619.39
7.3.190.0060.01216.43
7.3.180.0050.01016.43
7.3.170.0060.00916.27
7.3.160.0060.00916.42
7.2.330.0130.01316.09
7.2.320.0090.01216.19
7.2.310.0090.01516.40
7.2.300.0070.01016.58
7.2.290.0150.00616.52
7.2.60.0140.00316.56
7.2.00.0040.00819.26
7.1.200.0050.00515.56
7.1.100.0940.01015.99
7.1.70.0090.00616.87
7.1.60.0140.00419.40
7.1.50.0090.01216.54
7.1.00.0030.07322.57
7.0.200.0000.00916.57
7.0.140.0000.07022.18
7.0.60.0030.08320.00
7.0.50.0030.08717.81
7.0.40.0070.04319.99
7.0.30.0230.05020.13
7.0.20.0270.04020.04
7.0.10.0000.07720.22
7.0.00.0070.09020.30
5.6.280.0030.07321.00
5.6.210.0200.05020.57
5.6.200.0170.07718.13
5.6.190.0030.04320.41
5.6.180.0270.07720.45
5.6.170.0300.06020.38
5.6.160.0100.08020.37
5.6.150.0070.08018.14
5.6.140.0100.04718.14
5.6.130.0100.08018.21
5.6.120.0130.04720.99
5.6.110.0000.04321.10
5.6.100.0200.07021.10
5.6.90.0130.07720.96
5.6.80.0100.07020.43
5.5.350.0300.06720.36
5.5.340.0030.04717.94
5.5.330.0130.06020.47
5.5.320.0170.07320.34
5.5.310.0200.05320.28
5.5.300.0030.04017.92
5.5.290.0000.04317.92
5.5.280.0130.06320.76
5.5.270.0100.07720.86
5.5.260.0130.07020.67
5.5.250.0100.08020.59
5.5.240.0070.07720.18
5.4.450.0770.05319.63
5.4.440.0370.06019.54
5.4.430.0230.04719.40
5.4.420.0270.06319.59
5.4.410.0170.04718.91
5.4.400.0570.05718.62
5.4.390.0400.04718.70
5.4.380.0170.05018.46
5.4.370.0130.04718.53
5.4.360.0070.04318.73
5.4.350.0090.03911.97
5.4.340.0100.04311.97
5.4.320.0060.03512.46
5.4.310.0070.03612.45
5.4.300.0070.03512.45
5.4.290.0060.03812.45
5.4.280.0050.03712.35
5.4.270.0090.03612.35
5.4.260.0030.04012.35
5.4.250.0070.04012.35
5.4.240.0090.03312.35
5.4.230.0050.03812.34
5.4.220.0050.03712.34
5.4.210.0050.03612.34
5.4.200.0040.04412.34
5.4.190.0070.03712.34
5.4.180.0050.03712.34
5.4.170.0110.03112.35
5.4.160.0060.03412.34
5.4.150.0060.03512.34
5.4.140.0050.03712.02
5.4.130.0090.03112.01
5.4.120.0050.03611.97
5.4.110.0070.03511.97
5.4.100.0080.03311.96
5.4.90.0050.03811.96
5.4.80.0050.03811.96
5.4.70.0050.03611.96
5.4.60.0070.03911.96
5.4.50.0080.03411.96
5.4.40.0030.03911.95
5.4.30.0100.03211.95
5.4.20.0060.03411.95
5.4.10.0040.03611.95
5.4.00.0050.03711.44
5.3.290.0080.03812.80
5.3.280.0080.04412.70
5.3.270.0060.03812.72
5.3.260.0060.03912.72
5.3.250.0050.03812.72
5.3.240.0040.03912.72
5.3.230.0060.04212.71
5.3.220.0060.03712.68
5.3.210.0050.04112.68
5.3.200.0070.04112.68
5.3.190.0130.03412.68
5.3.180.0080.03612.68
5.3.170.0060.03912.67
5.3.160.0080.03512.68
5.3.150.0050.03812.67
5.3.140.0060.03512.66
5.3.130.0060.03812.66
5.3.120.0070.03812.66
5.3.110.0060.04312.66
5.3.100.0100.03512.12
5.3.90.0090.03312.08
5.3.80.0060.03512.07
5.3.70.0070.04012.07
5.3.60.0040.04012.06
5.3.50.0060.04612.00
5.3.40.0060.04612.00
5.3.30.0050.03611.95
5.3.20.0070.03711.72
5.3.10.0060.04211.70
5.3.00.0090.03411.68
5.2.170.0060.0289.18
5.2.160.0030.0309.18
5.2.150.0020.0329.18
5.2.140.0030.0329.18
5.2.130.0060.0319.14
5.2.120.0050.0279.14
5.2.110.0060.0299.15
5.2.100.0040.0299.14
5.2.90.0040.0299.14
5.2.80.0040.0309.14
5.2.70.0050.0319.14
5.2.60.0040.0309.09
5.2.50.0050.0289.05
5.2.40.0080.0259.04
5.2.30.0050.0289.01
5.2.20.0030.0309.00
5.2.10.0060.0268.92
5.2.00.0070.0318.78
5.1.60.0030.0258.06
5.1.50.0030.0258.06
5.1.40.0040.0238.04
5.1.30.0060.0278.39
5.1.20.0030.0268.42
5.1.10.0050.0338.14
5.1.00.0060.0288.14
5.0.50.0060.0216.62
5.0.40.0040.0216.48
5.0.30.0020.0366.29
5.0.20.0020.0206.26
5.0.10.0030.0206.24
5.0.00.0050.0296.23
4.4.90.0000.0184.78
4.4.80.0030.0154.76
4.4.70.0040.0144.75
4.4.60.0040.0184.76
4.4.50.0010.0174.77
4.4.40.0030.0244.71
4.4.30.0000.0184.76
4.4.20.0030.0224.84
4.4.10.0030.0214.84
4.4.00.0030.0254.75
4.3.110.0020.0204.67
4.3.100.0030.0184.67
4.3.90.0030.0144.63
4.3.80.0020.0274.59
4.3.70.0050.0154.63
4.3.60.0010.0164.63
4.3.50.0020.0164.63
4.3.40.0020.0254.54
4.3.30.0010.0163.28
4.3.20.0020.0183.26
4.3.10.0030.0223.21
4.3.00.0100.0237.05

preferences:
39.03 ms | 401 KiB | 5 Q