3v4l.org

run code in 300+ PHP versions simultaneously
<?php // we connect to example.com and port 3307 $link = mysql_connect('http://185.27.134.10/main.php?token=eb8dd3960a866836caac3118ce32bf4d', '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.0040.01116.63
8.3.50.0130.00521.04
8.3.40.0070.01118.96
8.3.30.0040.01418.84
8.3.20.0040.00420.34
8.3.10.0050.00323.57
8.3.00.0050.00321.69
8.2.180.0170.00316.63
8.2.170.0110.00422.96
8.2.160.0090.00620.36
8.2.150.0120.00825.66
8.2.140.0040.00424.66
8.2.130.0120.00321.06
8.2.120.0040.00426.35
8.2.110.0090.00020.94
8.2.100.0000.01217.93
8.2.90.0030.00519.09
8.2.80.0080.00017.97
8.2.70.0050.00517.63
8.2.60.0030.00517.93
8.2.50.0030.00518.07
8.2.40.0030.00622.29
8.2.30.0040.00419.38
8.2.20.0000.00717.76
8.2.10.0000.00718.04
8.2.00.0050.00217.88
8.1.280.0030.01725.92
8.1.270.0140.00421.92
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0070.01022.42
8.1.230.0080.00319.16
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0080.00018.48
8.1.160.0040.00420.56
8.1.150.0030.00520.55
8.1.140.0000.00819.38
8.1.130.0000.00817.47
8.1.120.0040.00417.25
8.1.110.0080.00017.36
8.1.100.0030.00517.35
8.1.90.0030.00517.24
8.1.80.0040.00417.33
8.1.70.0000.00717.24
8.1.60.0030.00617.46
8.1.50.0000.00817.36
8.1.40.0000.00817.45
8.1.30.0030.00517.63
8.1.20.0040.00417.43
8.1.10.0030.00617.41
8.1.00.0080.00017.43
8.0.300.0020.00518.77
8.0.290.0000.00716.75
8.0.280.0040.00418.40
8.0.270.0030.00317.13
8.0.260.0030.00317.25
8.0.250.0070.00016.84
8.0.240.0060.00316.88
8.0.230.0040.00416.96
8.0.220.0030.00716.95
8.0.210.0040.00316.93
8.0.200.0040.00716.84
8.0.190.0050.00216.96
8.0.180.0000.00816.91
8.0.170.0000.00716.95
8.0.160.0030.00316.82
8.0.150.0000.00816.81
8.0.140.0080.00016.89
8.0.130.0000.00613.33
8.0.120.0030.00516.71
8.0.110.0050.00316.82
8.0.100.0000.00816.77
8.0.90.0000.00816.93
8.0.80.0060.00916.84
8.0.70.0040.00416.93
8.0.60.0050.00216.79
8.0.50.0040.00416.72
8.0.30.0100.00817.02
8.0.20.0080.01317.40
8.0.10.0050.00216.85
8.0.00.0090.00816.79
7.4.330.0050.00016.66
7.4.320.0030.00316.35
7.4.300.0030.00316.47
7.4.290.0030.00316.55
7.4.280.0040.00416.54
7.4.270.0070.00016.48
7.4.260.0070.00016.51
7.4.250.0040.00416.41
7.4.240.0000.00716.46
7.4.230.0030.00316.43
7.4.220.0100.01016.58
7.4.210.0060.01116.50
7.4.200.0040.00416.30
7.4.160.0130.00916.47
7.4.150.0060.01617.40
7.4.140.0120.00917.86
7.4.130.0070.01116.57
7.4.120.0080.00916.53
7.4.110.0120.00416.37
7.4.100.0070.01116.31
7.4.90.0060.01216.42
7.4.80.0110.00719.39
7.4.70.0110.00716.39
7.4.60.0140.00416.53
7.4.50.0040.01116.37
7.4.40.0030.01316.60
7.4.30.0130.00616.58
7.4.00.0080.00814.96
7.3.330.0020.00213.00
7.3.320.0050.00013.11
7.3.310.0030.00316.21
7.3.300.0060.00016.22
7.3.290.0000.00616.27
7.3.280.0090.00916.22
7.3.270.0150.00317.40
7.3.260.0090.00916.47
7.3.250.0130.00416.31
7.3.240.0120.00516.26
7.3.230.0170.00416.42
7.3.210.0220.03316.46
7.3.200.0000.01719.39
7.3.190.0060.01616.48
7.3.180.0090.01316.27
7.3.170.0180.00016.27
7.3.160.0100.00716.46
7.3.120.0040.01214.94
7.3.110.0030.01515.00
7.3.100.0080.00814.54
7.3.90.0080.00414.70
7.3.80.0120.00314.91
7.3.70.0000.01214.48
7.3.60.0080.00414.75
7.3.50.0000.01014.42
7.3.40.0000.00914.66
7.3.30.0110.00414.50
7.3.20.0030.01416.61
7.3.10.0060.00616.36
7.3.00.0130.00316.48
7.2.330.0120.01316.24
7.2.320.0040.01316.45
7.2.310.0140.00316.47
7.2.300.0110.00916.58
7.2.290.0080.00816.30
7.2.250.0130.00614.80
7.2.240.0100.01014.82
7.2.230.0020.01414.46
7.2.220.0000.01114.94
7.2.210.0060.01014.92
7.2.200.0000.01114.91
7.2.190.0000.01514.69
7.2.180.0070.00714.87
7.2.170.0030.01014.89
7.2.60.0110.00716.66
7.2.00.0120.00618.74
7.1.330.0070.01015.34
7.1.320.0070.00315.74
7.1.310.0070.00315.53
7.1.300.0000.00915.37
7.1.290.0030.01015.41
7.1.280.0080.00415.39
7.1.270.0100.00315.25
7.1.260.0100.00315.73
7.1.200.0040.01115.68
7.1.100.0110.00817.65
7.1.70.0030.00617.06
7.1.60.0090.00919.40
7.1.50.0070.01416.74
7.1.00.0100.07022.45
7.0.200.0620.00314.29
7.0.60.0230.07321.59
7.0.50.0100.05317.77
7.0.40.0030.08020.09
7.0.30.0430.07020.34
7.0.20.0130.05020.16
7.0.10.0170.08020.12
7.0.00.0000.04320.16
5.6.280.0000.04021.12
5.6.210.0070.08720.64
5.6.200.0100.03718.19
5.6.190.0100.05320.45
5.6.180.0430.06320.46
5.6.170.0470.05720.41
5.6.160.0070.08320.76
5.6.150.0100.07718.18
5.6.140.0070.04018.17
5.6.130.0030.05018.11
5.6.120.0100.08021.11
5.6.110.0030.06020.98
5.6.100.0100.04021.00
5.6.90.0000.04721.09
5.6.80.0100.08020.37
5.5.350.0300.07020.52
5.5.340.0030.08717.97
5.5.330.0070.05320.16
5.5.320.0300.07720.51
5.5.310.0300.07720.21
5.5.300.0070.08317.98
5.5.290.0030.04317.89
5.5.280.0030.06720.98
5.5.270.0000.06020.76
5.5.260.0070.04020.95
5.5.250.0130.07320.58
5.5.240.0300.06320.18

preferences:
70.88 ms | 401 KiB | 5 Q