3v4l.org

run code in 300+ PHP versions simultaneously
<?php new PDO('mysql:foobar', 'username', 'password');

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.4.20.0160.00317.67
8.4.10.0100.00623.75
8.3.150.0100.01017.12
8.3.140.0080.00017.23
8.3.130.0080.00018.62
8.3.120.0180.00019.04
8.3.110.0040.00420.94
8.3.100.0030.00624.06
8.3.90.0090.00026.77
8.3.80.0030.00716.50
8.3.70.0140.00716.58
8.3.60.0090.00916.63
8.3.50.0100.00719.96
8.3.40.0100.00320.34
8.3.30.0160.00318.48
8.3.20.0030.00624.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.260.0120.00418.97
8.2.250.0080.00016.57
8.2.240.0120.00317.08
8.2.230.0090.00022.58
8.2.220.0040.00437.54
8.2.210.0050.00226.77
8.2.200.0050.00518.29
8.2.190.0070.00716.75
8.2.180.0150.00625.92
8.2.170.0140.00718.79
8.2.160.0000.01322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.00
8.2.110.0070.00320.35
8.2.100.0040.00817.72
8.2.90.0080.00017.84
8.2.80.0040.00417.97
8.2.70.0040.00419.53
8.2.60.0080.00017.80
8.2.50.0040.00418.10
8.2.40.0080.00417.82
8.2.30.0070.00517.83
8.2.20.0040.00818.41
8.2.10.0120.00017.86
8.2.00.0040.00718.31
8.1.310.0070.01016.53
8.1.300.0040.00419.52
8.1.290.0040.00830.84
8.1.280.0150.00025.92
8.1.270.0040.00424.66
8.1.260.0070.00726.35
8.1.250.0050.00328.09
8.1.240.0030.00620.92
8.1.230.0060.00620.96
8.1.220.0050.00317.74
8.1.210.0040.00420.63
8.1.200.0060.00317.23
8.1.190.0050.00317.11
8.1.180.0040.00418.10
8.1.170.0050.00818.07
8.1.160.0010.01118.13
8.1.150.0080.00418.05
8.1.140.0030.00917.48
8.1.130.0070.00617.43
8.1.120.0040.00717.46
8.1.110.0050.00817.38
8.1.100.0110.00417.36
8.1.90.0070.00717.41
8.1.80.0090.00617.43
8.1.70.0080.00617.41
8.1.60.0130.00417.50
8.1.50.0100.00717.50
8.1.40.0100.00617.52
8.1.30.0140.00517.55
8.1.20.0110.00517.54
8.1.10.0080.00917.51
8.1.00.0060.01017.50
8.0.300.0040.00419.86
8.0.290.0000.00716.63
8.0.280.0060.00518.91
8.0.270.0080.00417.83
8.0.260.0060.00517.05
8.0.250.0070.00517.12
8.0.240.0070.00817.11
8.0.230.0090.00617.04
8.0.220.0110.00317.04
8.0.210.0120.00217.05
8.0.200.0060.00817.11
8.0.190.0110.00317.13
8.0.180.0110.00317.07
8.0.170.0090.00417.08
8.0.160.0080.00617.09
8.0.150.0120.00417.04
8.0.140.0080.00717.02
8.0.130.0090.00717.04
8.0.120.0140.00317.09
8.0.110.0090.00517.08
8.0.100.0120.00317.06
8.0.90.0130.00317.05
8.0.80.0160.00017.11
8.0.70.0080.00817.02
8.0.60.0100.00617.10
8.0.50.0130.00317.06
8.0.30.0120.00517.05
8.0.20.0140.00317.10
8.0.10.0120.00517.11
7.4.330.0060.00516.65
7.4.320.0110.00216.95
7.4.300.0110.00616.94
7.4.290.0140.00316.94
7.4.280.0110.00616.90
7.4.270.0120.00616.95
7.4.260.0150.00216.94
7.4.250.0140.00316.94
7.4.240.0110.00616.92
7.4.230.0100.00616.90
7.4.220.0100.00616.90
7.4.210.0100.00416.88
7.4.200.0140.00216.94
7.4.190.0110.00516.95
7.4.180.0130.00316.95
7.4.160.0120.00316.92
7.4.150.0090.00616.92
7.4.140.0100.00616.90
7.4.130.0100.00516.92
7.4.120.0080.00616.92
7.4.110.0120.00316.90
7.4.100.0120.00416.94
7.4.90.0120.00416.91
7.4.80.0080.00716.87
7.4.70.0100.00516.91
7.4.60.0120.00316.93
7.4.50.0070.00816.88
7.4.40.0090.00516.88
7.4.30.0060.00616.88
7.4.20.0070.00516.88
7.4.10.0090.00316.95
7.4.00.0100.00316.88

preferences:
36.07 ms | 403 KiB | 5 Q