3v4l.org

run code in 300+ PHP versions simultaneously
<?php // we connect to example.com and port 3307 $link = mysql_connect('sql202.byetcluster.com', 'myspn_16543937', '3jx6pfk2'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?>

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.50
8.3.50.0120.00621.13
8.3.40.0140.00418.97
8.3.30.0160.00018.63
8.3.20.0000.00720.16
8.3.10.0080.00023.65
8.3.00.0050.00323.48
8.2.180.0130.00616.63
8.2.170.0180.00422.96
8.2.160.0030.01020.47
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0070.00021.00
8.2.120.0080.00026.35
8.2.110.0060.00320.99
8.2.100.0060.00617.93
8.2.90.0060.00319.05
8.2.80.0000.00817.97
8.2.70.0000.00917.25
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0030.00622.37
8.2.30.0000.00719.25
8.2.20.0040.00417.55
8.2.10.0050.00317.86
8.2.00.0000.00718.06
8.1.280.0180.00025.92
8.1.270.0150.00422.25
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0090.00022.35
8.1.230.0000.01119.01
8.1.220.0050.00217.74
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.62
8.1.160.0050.00220.64
8.1.150.0040.00420.50
8.1.140.0080.00019.41
8.1.130.0070.00017.57
8.1.120.0040.00417.39
8.1.110.0060.00317.33
8.1.100.0040.00417.34
8.1.90.0080.00017.21
8.1.80.0030.00517.27
8.1.70.0000.00717.31
8.1.60.0000.00917.46
8.1.50.0040.00417.40
8.1.40.0050.00217.44
8.1.30.0000.00817.60
8.1.20.0040.00417.60
8.1.10.0070.00017.40
8.1.00.0000.00717.52
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0020.00518.29
8.0.270.0000.00717.07
8.0.260.0000.00617.14
8.0.250.0070.00016.86
8.0.240.0050.00516.82
8.0.230.0000.00716.81
8.0.220.0080.00016.77
8.0.210.0050.00216.92
8.0.200.0060.00316.84
8.0.190.0060.00316.99
8.0.180.0000.00816.91
8.0.170.0080.00016.81
8.0.160.0000.00716.93
8.0.150.0000.00716.88
8.0.140.0030.00416.76
8.0.130.0000.00513.30
8.0.120.0050.00316.89
8.0.110.0000.00716.90
8.0.100.0000.00716.69
8.0.90.0040.00416.90
8.0.80.0060.00916.91
8.0.70.0070.00016.86
8.0.60.0020.00516.72
8.0.50.0070.00016.80
8.0.30.0110.00517.02
8.0.20.0110.00617.40
8.0.10.0080.00016.93
8.0.00.0110.00616.66
7.4.330.0030.00316.84
7.4.320.0000.00616.31
7.4.300.0040.00416.54
7.4.290.0080.00016.50
7.4.280.0040.00416.47
7.4.270.0030.00316.46
7.4.260.0070.00016.55
7.4.250.0070.00016.48
7.4.240.0030.00316.55
7.4.230.0030.00316.52
7.4.220.0040.01516.54
7.4.210.0110.00716.49
7.4.200.0000.00716.57
7.4.160.0100.01016.71
7.4.150.0070.01717.40
7.4.140.0130.01117.86
7.4.130.0090.00816.47
7.4.120.0110.00916.57
7.4.110.0120.00416.45
7.4.100.0110.00516.58
7.4.90.0070.01316.44
7.4.80.0080.00819.39
7.4.70.0080.00816.32
7.4.60.0060.01216.38
7.4.50.0060.01216.58
7.4.40.0110.00516.35
7.4.30.0100.00916.45
7.4.00.0100.00015.06
7.3.330.0000.00513.20
7.3.320.0050.00013.02
7.3.310.0000.00716.20
7.3.300.0000.00616.16
7.3.290.0000.00716.31
7.3.280.0060.01316.30
7.3.270.0120.00617.40
7.3.260.0140.02416.52
7.3.250.0110.00616.38
7.3.240.0130.00616.43
7.3.230.0100.01016.45
7.3.210.0140.01116.32
7.3.200.0090.00619.39
7.3.190.0140.00316.25
7.3.180.0100.00716.53
7.3.170.0050.01116.34
7.3.160.0000.02016.48
7.2.330.0110.00616.66
7.2.320.0140.00416.35
7.2.310.0060.01216.41
7.2.300.0120.00916.27
7.2.290.0090.00716.65
7.2.60.0060.00916.83
7.2.00.0090.00918.87
7.1.200.0040.00815.61
7.1.100.0060.00317.40
7.1.70.0000.00817.16
7.1.60.0100.01419.40
7.1.50.0060.01316.91
7.1.00.0070.07322.54
7.0.200.0520.00314.34
7.0.60.0170.08021.72
7.0.50.0100.07717.84
7.0.40.0030.08320.24
7.0.30.0300.04720.18
7.0.20.0200.04020.09
7.0.10.0130.08020.21
7.0.00.0000.04320.01
5.6.280.0030.03020.95
5.6.210.0130.07320.62
5.6.200.0030.04718.16
5.6.190.0030.08720.43
5.6.180.0430.07320.42
5.6.170.0230.06320.52
5.6.160.0070.08320.50
5.6.150.0070.04018.22
5.6.140.0070.08018.08
5.6.130.0070.07018.11
5.6.120.0100.04721.12
5.6.110.0130.07321.11
5.6.100.0030.08320.98
5.6.90.0030.09720.97
5.6.80.0130.07320.49
5.5.350.0270.07720.32
5.5.340.0100.08018.02
5.5.330.0130.06720.47
5.5.320.0370.07720.30
5.5.310.0430.07020.18
5.5.300.0100.07017.88
5.5.290.0070.05317.88
5.5.280.0130.05020.84
5.5.270.0030.08020.64
5.5.260.0000.04320.89
5.5.250.0100.08020.75
5.5.240.0230.04720.28

preferences:
73.83 ms | 401 KiB | 5 Q