3v4l.org

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

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.0130.00618.56
8.3.50.0060.01321.94
8.3.40.0110.00418.47
8.3.30.0070.00718.68
8.3.20.0070.00020.04
8.3.10.0040.00420.50
8.3.00.0080.00021.65
8.2.180.0120.00316.38
8.2.170.0120.00622.96
8.2.160.0100.00322.08
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00421.00
8.2.120.0040.00426.35
8.2.110.0070.00319.27
8.2.100.0080.00317.80
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0040.00417.88
8.2.50.0000.00818.09
8.2.40.0050.00320.52
8.2.30.0000.00719.29
8.2.20.0080.00017.42
8.2.10.0040.00417.79
8.2.00.0040.00417.82
8.1.280.0070.01025.92
8.1.270.0100.00322.24
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0060.00322.36
8.1.230.0060.00617.77
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0000.00817.10
8.1.180.0090.00018.10
8.1.170.0030.00718.46
8.1.160.0040.00420.52
8.1.150.0030.00418.66
8.1.140.0080.00019.32
8.1.130.0030.00317.47
8.1.120.0030.00317.19
8.1.110.0040.00417.32
8.1.100.0050.00217.30
8.1.90.0050.00217.36
8.1.80.0030.00317.30
8.1.70.0070.00017.34
8.1.60.0060.00617.42
8.1.50.0000.00817.38
8.1.40.0040.00417.42
8.1.30.0000.00917.52
8.1.20.0040.00417.24
8.1.10.0000.00817.30
8.1.00.0000.00817.25
8.0.300.0060.00318.77
8.0.290.0000.00716.63
8.0.280.0000.00718.32
8.0.270.0080.00017.13
8.0.260.0030.00317.26
8.0.250.0040.00416.89
8.0.240.0030.00316.89
8.0.230.0030.00316.84
8.0.220.0000.00716.64
8.0.210.0030.00316.68
8.0.200.0050.00316.70
8.0.190.0040.00416.77
8.0.180.0040.00416.78
8.0.170.0000.00716.68
8.0.160.0030.00316.78
8.0.150.0080.00016.70
8.0.140.0040.00416.75
8.0.130.0030.00313.27
8.0.120.0000.00816.76
8.0.110.0040.00416.75
8.0.100.0040.00416.68
8.0.90.0050.00316.83
8.0.80.0030.01216.70
8.0.70.0080.00016.74
8.0.60.0040.00416.56
8.0.50.0040.00416.61
8.0.30.0120.00516.82
8.0.20.0110.00817.40
8.0.10.0040.00416.85
8.0.00.0060.01316.63
7.4.330.0020.00216.70
7.4.320.0030.00316.48
7.4.300.0060.00016.35
7.4.290.0070.00016.34
7.4.280.0070.00016.36
7.4.270.0030.00316.39
7.4.260.0040.00416.34
7.4.250.0040.00416.45
7.4.240.0040.00316.39
7.4.230.0000.00716.36
7.4.220.0060.00916.50
7.4.210.0100.00516.46
7.4.200.0070.00016.36
7.4.160.0060.01116.36
7.4.150.0000.01717.40
7.4.140.0120.00717.86
7.4.130.0080.01016.34
7.4.120.0060.01016.44
7.4.110.0030.01316.50
7.4.100.0000.01916.36
7.4.90.0140.00316.39
7.4.80.0110.00619.39
7.4.70.0070.01016.39
7.4.60.0030.01716.34
7.4.50.0050.01416.09
7.4.40.0130.01016.40
7.4.30.0090.00616.44
7.4.00.0100.00314.85
7.3.330.0000.00513.17
7.3.320.0020.00313.18
7.3.310.0000.00716.26
7.3.300.0030.00316.00
7.3.290.0040.00416.09
7.3.280.0110.00916.14
7.3.270.0140.00317.40
7.3.260.0090.01516.32
7.3.250.0120.00716.26
7.3.240.0100.00716.32
7.3.230.0100.00716.39
7.3.210.0120.00616.18
7.3.200.0090.00916.23
7.3.190.0140.00716.26
7.3.180.0090.01316.40
7.3.170.0110.01116.24
7.3.160.0110.00616.20
7.2.330.0120.01216.42
7.2.320.0100.01416.57
7.2.310.0030.01216.20
7.2.300.0070.01016.42
7.2.290.0080.00716.56
7.2.60.0080.00416.81
7.2.00.0090.00318.98
7.1.200.0080.00315.59
7.1.100.0040.01117.86
7.1.70.0000.00817.09
7.1.60.0070.01819.27
7.1.50.0180.00416.84
7.1.00.0030.07722.44
7.0.200.0220.00614.69
7.0.60.0330.08019.86
7.0.50.0000.05317.66
7.0.40.0070.05019.99
7.0.30.0270.05020.17
7.0.20.0270.07320.18
7.0.10.0070.06020.04
7.0.00.0000.08720.16
5.6.280.0030.04021.11
5.6.210.0200.03320.52
5.6.200.0070.08718.19
5.6.190.0100.04020.43
5.6.180.0130.04320.60
5.6.170.0200.03720.54
5.6.160.0100.05720.49
5.6.150.0100.03718.11
5.6.140.0030.03718.11
5.6.130.0030.08318.14
5.6.120.0200.06321.04
5.6.110.0030.06720.99
5.6.100.0100.05320.95
5.6.90.0030.07020.99
5.6.80.0030.06020.50
5.5.350.0270.08020.32
5.5.340.0030.07717.89
5.5.330.0030.04020.56
5.5.320.0270.06320.31
5.5.310.0300.04320.12
5.5.300.0070.04717.98
5.5.290.0030.08318.02
5.5.280.0130.07720.76
5.5.270.0070.04320.65
5.5.260.0100.06720.87
5.5.250.0130.08020.70
5.5.240.0070.04020.06

preferences:
49.4 ms | 401 KiB | 5 Q