3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysqli = 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.61
8.3.50.0110.00722.82
8.3.40.0070.01418.96
8.3.30.0060.00919.04
8.3.20.0050.00220.33
8.3.10.0040.00423.60
8.3.00.0050.00319.38
8.2.180.0110.01116.73
8.2.170.0110.01122.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0190.00026.16
8.2.120.0080.00021.22
8.2.110.0070.00321.93
8.2.100.0100.00020.40
8.2.90.0060.00319.28
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0000.00817.77
8.2.50.0040.00418.07
8.2.40.0060.00319.67
8.2.30.0040.00418.14
8.2.20.0050.00317.62
8.2.10.0040.00417.98
8.2.00.0000.00817.79
8.1.280.0110.00425.92
8.1.270.0080.00023.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00723.86
8.1.230.0040.00819.09
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0000.01017.35
8.1.190.0040.00417.23
8.1.180.0050.00518.10
8.1.170.0000.01018.41
8.1.160.0000.00721.95
8.1.150.0040.00418.64
8.1.140.0000.00717.24
8.1.130.0000.00817.76
8.1.120.0000.00717.23
8.1.110.0030.00517.23
8.1.100.0000.00717.35
8.1.90.0050.00217.23
8.1.80.0070.00017.23
8.1.70.0000.00717.20
8.1.60.0050.00317.46
8.1.50.0080.00017.36
8.1.40.0060.00317.45
8.1.30.0040.00417.57
8.1.20.0060.00317.44
8.1.10.0060.00317.55
8.1.00.0040.00417.42
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0030.00318.40
8.0.270.0030.00317.26
8.0.260.0030.00317.25
8.0.250.0030.00317.00
8.0.240.0000.00616.98
8.0.230.0030.00316.84
8.0.220.0000.00716.86
8.0.210.0030.00316.94
8.0.200.0030.00316.98
8.0.190.0030.00516.85
8.0.180.0040.00416.82
8.0.170.0000.00716.90
8.0.160.0000.00716.84
8.0.150.0050.00316.79
8.0.140.0040.00416.87
8.0.130.0000.00513.36
8.0.120.0030.00616.86
8.0.110.0040.00416.88
8.0.100.0040.00416.87
8.0.90.0030.00316.73
8.0.80.0120.00316.89
8.0.70.0080.00016.77
8.0.60.0000.00716.80
8.0.50.0030.00616.75
8.0.30.0090.01117.06
8.0.20.0110.01317.40
8.0.10.0040.00417.03
8.0.00.0130.00416.66
7.4.330.0000.00615.00
7.4.320.0000.00616.51
7.4.300.0000.00716.44
7.4.290.0000.00716.36
7.4.280.0070.00016.45
7.4.270.0050.00216.46
7.4.260.0060.00316.43
7.4.250.0040.00416.55
7.4.240.0030.00516.49
7.4.230.0030.00516.34
7.4.220.0150.00916.50
7.4.210.0080.00716.53
7.4.200.0000.00716.57
7.4.160.0120.00316.41
7.4.150.0060.01817.40
7.4.140.0110.00817.86
7.4.130.0090.01116.42
7.4.120.0030.01416.47
7.4.110.0100.00616.56
7.4.100.0100.00716.61
7.4.90.0070.01116.56
7.4.80.0140.00319.39
7.4.70.0060.01616.53
7.4.60.0080.00816.41
7.4.50.0030.00316.49
7.4.40.0030.01316.39
7.4.30.0030.01416.42
7.4.00.0040.01415.00
7.3.330.0050.00013.02
7.3.320.0030.00313.00
7.3.310.0030.00316.47
7.3.300.0030.00316.25
7.3.290.0100.00316.33
7.3.280.0100.00716.29
7.3.270.0070.01117.40
7.3.260.0070.01016.14
7.3.250.0130.00516.38
7.3.240.0130.00316.28
7.3.230.0080.00916.46
7.3.210.0100.00716.26
7.3.200.0040.01219.39
7.3.190.0070.01016.27
7.3.180.0080.00816.25
7.3.170.0150.00316.29
7.3.160.0150.00016.26
7.2.330.0190.00616.69
7.2.320.0100.00416.37
7.2.310.0110.00716.23
7.2.300.0100.00716.36
7.2.290.0090.01316.45
7.2.60.0040.01116.59
7.2.00.0040.00819.21
7.1.200.0030.01015.65
7.1.100.0590.00315.61
7.1.70.0030.00516.96
7.1.60.0040.01919.40
7.1.50.0030.01916.85
7.1.00.0000.08022.53
7.0.200.0030.00316.76
7.0.140.0030.06721.95
7.0.60.0070.05719.93
7.0.50.0070.06717.80
7.0.40.0100.03720.30
7.0.30.0270.07720.00
7.0.20.0300.07320.20
7.0.10.0000.04720.16
7.0.00.0100.08020.02
5.6.280.0070.07021.07
5.6.210.0200.08020.54
5.6.200.0030.04018.22
5.6.190.0100.07720.67
5.6.180.4000.04020.57
5.6.170.0230.03720.51
5.6.160.0200.07020.54
5.6.150.0000.06018.19
5.6.140.0070.06718.11
5.6.130.0030.05318.25
5.6.120.0070.08321.14
5.6.110.0000.05721.14
5.6.100.0130.06021.14
5.6.90.0070.08320.96
5.6.80.0070.06020.37
5.6.70.0070.08720.42
5.5.350.0030.03320.38
5.5.340.0000.04017.91
5.5.330.0100.08020.40
5.5.320.0400.05720.18
5.5.310.0270.09020.26
5.5.300.0100.04717.91
5.5.290.0100.07017.98
5.5.280.0100.06020.86
5.5.270.0130.08320.87
5.5.260.0100.08020.72
5.5.250.0030.06320.58
5.5.240.0070.03020.26
5.4.450.0800.06019.41
5.4.440.0500.06319.48
5.4.430.0770.05019.48
5.4.420.0800.05019.34
5.4.410.0070.05718.98
5.4.400.0430.06318.57
5.4.390.0400.05718.68
5.4.380.0070.05718.78
5.4.370.0070.03718.65
5.4.360.0070.03718.71
5.4.350.0090.03211.98
5.4.340.0030.04111.97
5.4.320.0050.04312.46
5.4.310.0070.03812.45
5.4.300.0060.03712.46
5.4.290.0050.03812.45
5.4.280.0050.03712.35
5.4.270.0030.03912.35
5.4.260.0070.03712.35
5.4.250.0090.03712.35
5.4.240.0080.04712.35
5.4.230.0090.04112.34
5.4.220.0080.03612.34
5.4.210.0060.04012.34
5.4.200.0070.04512.34
5.4.190.0090.04112.34
5.4.180.0110.03212.34
5.4.170.0090.03612.35
5.4.160.0070.04612.34
5.4.150.0060.03612.34
5.4.140.0080.04212.02
5.4.130.0070.04512.01
5.4.120.0130.04511.97
5.4.110.0050.04511.96
5.4.100.0040.03811.97
5.4.90.0060.03611.96
5.4.80.0050.03811.96
5.4.70.0090.03111.96
5.4.60.0070.03411.96
5.4.50.0090.04511.96
5.4.40.0070.03511.95
5.4.30.0050.03711.95
5.4.20.0070.03711.95
5.4.10.0090.04111.95
5.4.00.0070.03911.44
5.3.290.0080.04012.80
5.3.280.0030.04012.71
5.3.270.0090.03612.72
5.3.260.0050.03912.72
5.3.250.0040.04512.72
5.3.240.0080.04812.72
5.3.230.0070.04512.71
5.3.220.0090.03912.68
5.3.210.0040.04412.68
5.3.200.0060.03912.68
5.3.190.0060.04912.67
5.3.180.0080.04212.68
5.3.170.0100.04512.67
5.3.160.0070.03612.68
5.3.150.0080.03812.67
5.3.140.0060.03712.66
5.3.130.0050.04012.66
5.3.120.0040.04012.66
5.3.110.0080.04612.65
5.3.100.0020.04012.12
5.3.90.0060.03712.08
5.3.80.0040.03812.07
5.3.70.0060.03512.07
5.3.60.0080.03412.07
5.3.50.0050.03712.00
5.3.40.0030.03912.00
5.3.30.0030.03711.95
5.3.20.0060.03611.72
5.3.10.0050.03711.70
5.3.00.0070.03711.68
5.2.170.0040.0329.18
5.2.160.0050.0289.18
5.2.150.0070.0399.18
5.2.140.0040.0349.18
5.2.130.0050.0289.14
5.2.120.0060.0279.14
5.2.110.0040.0299.14
5.2.100.0050.0289.14
5.2.90.0040.0299.14
5.2.80.0050.0299.13
5.2.70.0030.0349.14
5.2.60.0030.0329.09
5.2.50.0020.0349.06
5.2.40.0060.0279.04
5.2.30.0060.0299.02
5.2.20.0030.0319.00
5.2.10.0080.0258.92
5.2.00.0070.0428.78
5.1.60.0050.0258.06
5.1.50.0020.0278.06
5.1.40.0030.0268.04
5.1.30.0050.0318.39
5.1.20.0020.0358.42
5.1.10.0060.0288.14
5.1.00.0060.0288.14
5.0.50.0050.0196.62
5.0.40.0030.0246.48
5.0.30.0050.0306.29
5.0.20.0060.0226.26
5.0.10.0050.0186.24
5.0.00.0080.0306.23
4.4.90.0020.0164.78
4.4.80.0050.0164.75
4.4.70.0020.0174.75
4.4.60.0040.0214.76
4.4.50.0040.0194.77
4.4.40.0020.0314.71
4.4.30.0030.0194.76
4.4.20.0010.0174.84
4.4.10.0030.0204.84
4.4.00.0020.0294.75
4.3.110.0040.0144.67
4.3.100.0020.0184.67
4.3.90.0040.0144.63
4.3.80.0030.0274.58
4.3.70.0030.0184.63
4.3.60.0030.0174.63
4.3.50.0030.0184.63
4.3.40.0040.0224.54
4.3.30.0040.0143.28
4.3.20.0000.0183.26
4.3.10.0030.0163.22
4.3.00.0030.0207.05

preferences:
32.5 ms | 401 KiB | 5 Q