3v4l.org

run code in 300+ PHP versions simultaneously
<?php $original_file = file_get_contents("http://www.bacciarini.it"); $stripped_file = strip_tags($original_file, "<a>"); preg_match_all("/<a(?:[^>]*)href=\"([^\"]*)\"(?:[^>]*)>(?:[^<]*)<\/a>/is", $stripped_file, $matches); print_r($matches);

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.0120.00317.13
8.3.50.0090.01322.17
8.3.40.0110.00419.28
8.3.30.0070.00719.23
8.3.20.0050.00320.49
8.3.10.0060.00922.33
8.3.00.0060.00319.63
8.2.180.0150.01218.89
8.2.170.0040.01122.96
8.2.160.0100.00320.52
8.2.150.0090.00924.18
8.2.140.0110.00424.66
8.2.130.0030.00622.63
8.2.120.0060.00326.35
8.2.110.0030.00720.60
8.2.100.0060.00618.16
8.2.90.0030.00519.34
8.2.80.0040.00417.97
8.2.70.0000.00817.88
8.2.60.0040.00417.89
8.2.50.0050.00318.07
8.2.40.0000.00819.45
8.2.30.0040.00420.80
8.2.20.0050.00517.96
8.2.10.0000.00818.38
8.2.00.0000.00818.31
8.1.280.0090.00625.92
8.1.270.0120.00624.07
8.1.260.0050.00328.09
8.1.250.0000.00828.09
8.1.240.0140.00724.00
8.1.230.0080.00419.41
8.1.220.0050.00317.91
8.1.210.0020.00618.77
8.1.200.0040.00417.61
8.1.190.0050.00317.48
8.1.180.0080.00018.10
8.1.170.0000.00818.75
8.1.160.0000.00722.11
8.1.150.0040.00419.00
8.1.140.0060.00319.68
8.1.130.0080.00017.98
8.1.120.0000.00717.67
8.1.110.0040.00417.70
8.1.100.0050.00517.61
8.1.90.0070.00017.58
8.1.80.0040.00417.64
8.1.70.0070.00017.65
8.1.60.0000.00917.91
8.1.50.0040.00417.77
8.1.40.0050.00317.73
8.1.30.0000.01017.93
8.1.20.0070.00017.78
8.1.10.0030.00617.87
8.1.00.0040.00417.75
8.0.300.0040.00418.77
8.0.290.0040.00417.25
8.0.280.0000.00818.68
8.0.270.0040.00417.40
8.0.260.0040.00417.54
8.0.250.0050.00317.20
8.0.240.0000.00817.41
8.0.230.0000.00717.31
8.0.220.0000.00717.23
8.0.210.0070.00017.15
8.0.200.0000.00717.18
8.0.190.0090.00017.36
8.0.180.0080.00017.24
8.0.170.0040.00417.19
8.0.160.0070.00017.25
8.0.150.0030.00517.23
8.0.140.0000.00717.18
8.0.130.0000.00913.84
8.0.120.0040.00417.42
8.0.110.0090.00017.29
8.0.100.0040.00417.24
8.0.90.0040.00417.19
8.0.80.0040.01417.23
8.0.70.0000.00817.27
8.0.60.0000.00717.38
8.0.50.0050.00317.30
8.0.30.0120.00817.50
8.0.20.0090.01317.51
8.0.10.0080.00017.41
8.0.00.0080.01317.25
7.4.330.0020.00217.08
7.4.320.0030.00316.80
7.4.300.0030.00316.82
7.4.290.0000.00716.93
7.4.280.0030.00616.80
7.4.270.0040.00416.79
7.4.260.0030.00516.85
7.4.250.0000.00816.86
7.4.240.0050.00216.97
7.4.230.0000.00816.78
7.4.220.0110.01016.94
7.4.210.0120.00616.98
7.4.200.0050.00216.95
7.4.160.0080.00816.68
7.4.150.0100.01017.40
7.4.140.0050.01417.86
7.4.130.0100.00816.90
7.4.120.0100.01116.96
7.4.110.0090.00916.79
7.4.100.0190.00816.82
7.4.90.0110.00716.86
7.4.80.0070.01119.39
7.4.70.0200.00316.91
7.4.60.0160.00616.84
7.4.50.0060.00616.58
7.4.40.0080.00816.97
7.4.30.0060.01316.91
7.4.00.0080.00815.48
7.3.330.0030.00313.48
7.3.320.0000.00513.62
7.3.310.0000.00816.79
7.3.300.0050.00216.61
7.3.290.0070.00016.67
7.3.280.0120.00816.75
7.3.270.0140.00517.40
7.3.260.0100.01016.61
7.3.250.0160.00516.71
7.3.240.0130.00716.84
7.3.230.0120.00616.71
7.3.210.0090.00916.71
7.3.200.0090.00916.68
7.3.190.0130.01016.62
7.3.180.0070.01116.71
7.3.170.0140.00816.87
7.3.160.0110.00616.51
7.2.330.0120.00916.77
7.2.320.0030.01916.84
7.2.310.0080.01416.82
7.2.300.0120.00916.98
7.2.290.0080.00816.78
7.2.60.0070.01017.17
7.2.00.0000.01219.88
7.1.200.0100.00616.20
7.1.100.0090.00618.54
7.1.70.0050.00817.19
7.1.60.0160.01019.36
7.1.50.0070.01317.23
7.1.00.0100.06722.69
7.0.200.0060.00316.96
7.0.60.0070.04320.27
7.0.50.0130.07018.05
7.0.40.0070.09020.57
7.0.30.0270.04020.65
7.0.20.0500.06020.56
7.0.10.0030.04320.49
7.0.00.0100.07020.48
5.6.280.0030.04721.18
5.6.210.0100.07021.09
5.6.200.0170.07718.55
5.6.190.0030.04720.95
5.6.180.0370.03720.97
5.6.170.0300.03720.81
5.6.160.0030.04720.81
5.6.150.0200.05718.51
5.6.140.0070.06018.60
5.6.130.0070.08018.47
5.6.120.0130.07721.39
5.6.110.0070.06721.27
5.6.100.0170.04721.42
5.6.90.0000.04721.19
5.6.80.0170.07020.79
5.5.350.0200.08020.81
5.5.340.0070.04018.22
5.5.330.0000.05020.81
5.5.320.0530.06720.58
5.5.310.0400.06720.65
5.5.300.0030.04318.31
5.5.290.0030.04318.34
5.5.280.0100.04721.28
5.5.270.0130.06720.99
5.5.260.0000.04721.19
5.5.250.0070.07321.20
5.5.240.0170.04020.39

preferences:
56.1 ms | 401 KiB | 5 Q