3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = 'http://www.website.com/andsoooooooooooom_biiiiiiiiiiiiiiiig_characters_heeeeeeeeere'; $shortenedLink = (strlen($link) > 70) ? substr($link, 0, 20) . '...' : $link; echo "this is my best <a href='$link'>$shortenedLink</a> and some text here";

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.38
8.3.50.0120.00822.85
8.3.40.0150.00618.72
8.3.30.0040.01118.67
8.3.20.0040.00421.90
8.3.10.0050.00321.54
8.3.00.0040.00419.66
8.2.180.0100.01018.16
8.2.170.0140.00422.96
8.2.160.0110.00820.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00322.12
8.2.120.0000.00726.35
8.2.110.0070.00322.08
8.2.100.0000.01217.84
8.2.90.0040.00418.03
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0060.00317.93
8.2.50.0030.00618.10
8.2.40.0040.00422.03
8.2.30.0050.00521.04
8.2.20.0040.00417.72
8.2.10.0000.00818.07
8.2.00.0040.00418.02
8.1.280.0000.01825.92
8.1.270.0040.00423.97
8.1.260.0060.00328.09
8.1.250.0050.00328.09
8.1.240.0000.00922.55
8.1.230.0040.00720.91
8.1.220.0090.00017.74
8.1.210.0040.00718.95
8.1.200.0000.00917.35
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0080.00018.43
8.1.160.0070.00022.00
8.1.150.0050.00318.74
8.1.140.0040.00419.48
8.1.130.0030.00617.57
8.1.120.0000.00817.48
8.1.110.0000.00717.49
8.1.100.0000.00717.35
8.1.90.0000.00717.36
8.1.80.0040.00417.35
8.1.70.0030.00317.35
8.1.60.0050.00317.53
8.1.50.0040.00417.51
8.1.40.0000.00817.41
8.1.30.0040.00417.57
8.1.20.0030.00517.68
8.1.10.0000.00717.52
8.1.00.0060.00317.32
8.0.300.0000.00819.94
8.0.290.0000.00816.75
8.0.280.0030.00318.43
8.0.270.0040.00417.25
8.0.260.0000.00617.16
8.0.250.0030.00316.93
8.0.240.0030.00316.84
8.0.230.0060.00316.81
8.0.220.0080.00016.84
8.0.210.0080.00016.77
8.0.200.0000.00716.96
8.0.190.0030.00616.96
8.0.180.0040.00416.88
8.0.170.0040.00416.95
8.0.160.0030.00316.87
8.0.150.0000.00716.82
8.0.140.0050.00316.89
8.0.130.0030.00313.31
8.0.120.0000.00816.83
8.0.110.0040.00416.80
8.0.100.0040.00416.70
8.0.90.0080.00016.71
8.0.80.0100.01316.87
8.0.70.0000.00716.70
8.0.60.0040.00416.83
8.0.50.0020.00516.91
8.0.30.0050.01617.16
8.0.20.0090.00917.40
8.0.10.0000.00816.79
8.0.00.0050.01116.51
7.4.330.0050.00015.08
7.4.320.0000.00616.47
7.4.300.0000.00716.43
7.4.290.0000.00716.45
7.4.280.0020.00516.41
7.4.270.0000.00716.57
7.4.260.0040.00416.52
7.4.250.0030.00316.37
7.4.240.0090.00016.44
7.4.230.0000.00716.41
7.4.220.0130.00716.46
7.4.210.0100.00616.47
7.4.200.0030.00316.60
7.4.160.0070.00716.51
7.4.150.0150.00317.40
7.4.140.0160.00617.86
7.4.130.0150.00616.41
7.4.120.0090.00816.54
7.4.110.0120.00616.40
7.4.100.0110.01116.47
7.4.90.0090.00916.55
7.4.80.0000.01619.39
7.4.70.0120.00616.40
7.4.60.0090.01316.42
7.4.50.0040.01116.25
7.4.40.0130.01016.33
7.4.30.0030.01316.51
7.4.00.0060.00914.67
7.3.330.0000.00513.20
7.3.320.0000.00513.24
7.3.310.0000.00716.28
7.3.300.0000.00716.14
7.3.290.0040.01116.28
7.3.280.0070.01016.26
7.3.270.0090.00917.40
7.3.260.0090.01016.34
7.3.240.0120.00616.32
7.3.230.0160.00016.51
7.3.210.0100.00616.23
7.3.200.0120.00916.25
7.3.190.0130.00316.58
7.3.180.0060.01016.51
7.3.170.0040.01316.54
7.3.160.0170.01716.52
7.2.330.0060.01316.53
7.2.320.0130.01016.40
7.2.310.0090.00916.63
7.2.300.0100.00616.55
7.2.290.0160.00016.79
7.2.60.0270.00716.98
7.2.00.0040.01419.19
7.1.200.0000.01415.80
7.1.70.0200.00017.16
7.1.60.0100.01319.75
7.1.00.0100.07022.33
7.0.200.0120.00614.69
7.0.90.0230.05720.11
7.0.80.0330.05019.96
7.0.70.0100.05319.85
7.0.60.0130.05020.02
7.0.50.0000.06320.33
7.0.40.0000.07720.35
7.0.30.0170.05320.36
7.0.20.0030.06720.39
7.0.10.0100.05720.33
7.0.00.0130.05720.27
5.6.240.0100.06720.73
5.6.230.0070.06020.63
5.6.220.0070.05720.58
5.6.210.0170.04720.55
5.6.200.0100.05721.02
5.6.190.0170.04721.05
5.6.180.0230.05321.05
5.6.170.0030.06021.12
5.6.160.0030.06021.06
5.6.150.0200.04321.14
5.6.140.0170.04721.16
5.6.130.0270.04021.07
5.6.120.0100.05721.09
5.6.110.0130.05321.04
5.6.100.0070.06021.06
5.6.90.0130.05321.07
5.6.80.0070.05320.50
5.6.70.0070.05320.45
5.6.60.0130.05020.46
5.6.50.0200.04320.58
5.6.40.0070.05320.49
5.6.30.0130.04720.47
5.6.20.0070.05720.45
5.6.10.0170.06720.58
5.6.00.0130.05020.40

preferences:
59.39 ms | 401 KiB | 5 Q