3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOF <!doctype html> <html> <head> <link href='http://wendyandgabe.blogspot.com/favicon.ico' rel='icon' type='image/x-icon'/> <link href='http://wendyandgabe.blogspot.com/' rel='canonical'/> <link rel="alternate" type="application/atom+xml" title="O&#39; Happy Day! - Atom" href="http://wendyandgabe.blogspot.com/feeds/posts/default" /> <link rel="alternate" type="application/rss+xml" title="O&#39; Happy Day! - RSS" href="http://wendyandgabe.blogspot.com/feeds/posts/default?alt=rss" /> <link rel="service.post" type="application/atom+xml" title="O&#39; Happy Day! - Atom" href="http://www.blogger.com/feeds/5390468261501503598/posts/default" /> </head> <body> </body> </html> EOF; $xml = new DomDocument; $xml->loadHTML($html); //create a xpath instance $xpath = new DomXpath($xml); //query for <sub name="Y"> and use the first found item $link = $xpath->query('//link[@type="application/rss+xml"]')->item(0); var_dump($link->getAttribute('href'));

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.40.0100.00619.04
8.3.30.0110.00420.68
8.3.20.0050.00318.88
8.3.10.0040.00421.36
8.3.00.0000.00819.81
8.2.170.0090.00922.96
8.2.160.0100.00720.51
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00321.56
8.2.110.0090.00319.44
8.2.100.0110.00018.16
8.2.90.0000.00819.51
8.2.80.0030.00519.72
8.2.70.0040.00417.63
8.2.60.0050.00318.03
8.2.50.0050.00318.07
8.2.40.0000.00820.26
8.2.30.0060.00319.80
8.2.20.0040.00417.94
8.2.10.0040.00418.09
8.2.00.0060.00317.96
8.1.270.0000.00823.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00921.02
8.1.230.0040.00821.08
8.1.220.0040.00418.77
8.1.210.0080.00019.09
8.1.200.0000.00817.61
8.1.190.0040.00417.64
8.1.180.0050.00318.10
8.1.170.0000.00818.95
8.1.160.0040.00419.13
8.1.150.0050.00318.82
8.1.140.0040.00417.77
8.1.130.0050.00318.16
8.1.120.0000.00717.62
8.1.110.0020.00517.75
8.1.100.0000.00817.75
8.1.90.0040.00417.78
8.1.80.0040.00417.64
8.1.70.0030.00317.60
8.1.60.0050.00517.91
8.1.50.0040.00417.70
8.1.40.0080.00017.81
8.1.30.0050.00317.96
8.1.20.0030.00517.75
8.1.10.0080.00017.71
8.1.00.0040.00417.69
8.0.300.0090.00020.03
8.0.290.0000.00817.41
8.0.280.0040.00418.70
8.0.270.0040.00417.57
8.0.260.0070.00017.14
8.0.250.0000.00717.28
8.0.240.0040.00417.17
8.0.230.0000.00717.23
8.0.220.0030.00317.15
8.0.210.0050.00217.13
8.0.200.0000.00717.18
8.0.190.0000.00717.29
8.0.180.0040.00417.11
8.0.170.0000.00817.04
8.0.160.0000.00717.29
8.0.150.0070.00017.19
8.0.140.0040.00417.24
8.0.130.0080.00013.58
8.0.120.0040.00417.25
8.0.110.0000.00817.15
8.0.100.0000.00717.02
8.0.90.0040.00417.07
8.0.80.0090.00917.10
8.0.70.0020.00517.00
8.0.60.0080.00017.07
8.0.50.0040.00417.35
8.0.30.0050.01317.21
8.0.20.0060.01317.40
8.0.10.0020.00517.21
8.0.00.0120.00716.99
7.4.330.0030.00317.01
7.4.320.0000.00716.86
7.4.300.0000.00616.93
7.4.290.0050.00316.75
7.4.280.0000.00816.69
7.4.270.0030.00316.84
7.4.260.0030.00313.58
7.4.250.0040.00416.83
7.4.240.0070.00016.91
7.4.230.0070.00016.70
7.4.220.0100.00716.84
7.4.210.0080.00916.86
7.4.200.0070.00017.00
7.4.190.0070.00016.61
7.4.160.0070.01716.64
7.4.150.0060.01217.40
7.4.140.0080.00917.86
7.4.130.0120.00716.85
7.4.120.0100.00816.88
7.4.110.0060.01516.87
7.4.100.0100.00716.58
7.4.90.0040.01416.86
7.4.80.0030.02319.39
7.4.70.0070.01016.81
7.4.60.0090.00816.77
7.4.50.0000.00516.47
7.4.40.0120.00322.77
7.4.30.0140.00316.85
7.4.10.0160.00315.09
7.4.00.0100.00515.18
7.3.330.0000.00613.26
7.3.320.0020.00213.42
7.3.310.0030.00316.47
7.3.300.0050.00216.45
7.3.290.0050.00916.50
7.3.280.0070.01016.55
7.3.270.0070.01717.40
7.3.260.0070.01118.24
7.3.250.0070.01016.59
7.3.240.0000.01916.64
7.3.230.0030.01316.81
7.3.210.0070.01016.52
7.3.200.0130.01019.39
7.3.190.0120.00916.63
7.3.180.0130.00416.45
7.3.170.0030.01416.84
7.3.160.0100.00716.59
7.3.130.0040.01514.95
7.3.120.0090.00814.74
7.3.110.0070.01314.90
7.3.100.0030.01014.96
7.3.90.0060.00614.70
7.3.80.0060.00314.89
7.3.70.0000.01014.82
7.3.60.0000.01414.72
7.3.50.0060.00914.72
7.3.40.0090.00314.61
7.3.30.0070.01114.88
7.3.20.0100.00716.77
7.3.10.0050.00616.61
7.3.00.0120.00316.60
7.2.330.0060.01217.02
7.2.320.0150.00916.94
7.2.310.0120.00616.95
7.2.300.0110.00816.94
7.2.290.0090.00916.79
7.2.260.0080.01114.80
7.2.250.0100.01015.11
7.2.240.0070.01014.76
7.2.230.0130.00715.29
7.2.220.0060.00915.09
7.2.210.0000.01214.89
7.2.200.0060.00915.04
7.2.190.0030.01015.04
7.2.180.0070.01315.16
7.2.170.0130.00315.04
7.2.160.0070.01015.00
7.2.150.0060.00916.88
7.2.140.0050.00516.80
7.2.130.0060.00916.81
7.2.120.0070.00717.03
7.2.110.0030.01416.56
7.2.100.0030.01316.96
7.2.90.0060.01016.66
7.2.80.0070.00417.22
7.2.70.0040.00716.94
7.2.60.0070.00716.90
7.2.50.0040.01216.95
7.2.40.0040.00816.82
7.2.30.0060.01016.89
7.2.20.0040.01516.92
7.2.10.0000.01416.97
7.2.00.0060.00818.08
7.1.330.0030.00916.04
7.1.320.0090.00616.00
7.1.310.0040.00815.99
7.1.300.0120.00615.54
7.1.290.0070.00715.85
7.1.280.0030.01315.93
7.1.270.0070.01015.86
7.1.260.0090.00315.70
7.1.250.0060.00915.79
7.1.240.0100.00715.98
7.1.230.0000.01215.78
7.1.220.0070.00715.96
7.1.210.0070.00715.69
7.1.200.0070.00615.91
7.1.190.0120.00315.80
7.1.180.0070.01315.84
7.1.170.0070.01015.94
7.1.160.0100.00315.78
7.1.150.0070.01015.82
7.1.140.0030.00615.74
7.1.130.0030.00915.76
7.1.120.0070.00815.88
7.1.110.0070.00315.95
7.1.100.0090.00417.21
7.1.90.0070.00715.86
7.1.80.0040.01115.90
7.1.70.0070.00416.47
7.1.60.0050.00916.60
7.1.50.0020.01316.64
7.1.40.0040.00716.43
7.1.30.0030.00816.22
7.1.20.0030.00916.39
7.1.10.0020.00916.23
7.1.00.0000.01016.29
7.0.330.0030.00915.59
7.0.320.0040.00415.51
7.0.310.0000.01015.63
7.0.300.0110.00715.64
7.0.290.0050.00315.48
7.0.280.0070.00715.52
7.0.270.0030.00915.64
7.0.260.0030.00615.25
7.0.250.0090.00615.50
7.0.240.0030.00715.62
7.0.230.0040.01115.44
7.0.220.0030.01215.55
7.0.210.0110.00015.34
7.0.200.0040.00816.06
7.0.190.0030.00716.31
7.0.180.0070.00315.89
7.0.170.0030.00616.07
7.0.160.0040.00915.99
7.0.150.0050.00816.01
7.0.140.0050.00615.92
7.0.130.0050.00416.16
7.0.120.0030.00715.97
7.0.110.0040.00615.92
7.0.100.0030.00816.04
7.0.90.0090.00516.04
7.0.80.0020.00716.05
7.0.70.0070.00715.90
7.0.60.0030.01015.95
7.0.50.0050.00615.97
7.0.40.0070.00814.88
7.0.30.0030.01114.80
7.0.20.0000.01114.92
7.0.10.0020.01214.80
7.0.00.0040.00514.85
5.6.400.0060.00914.52
5.6.390.0030.01314.57
5.6.380.0030.00614.58
5.6.370.0030.00714.72
5.6.360.0070.01014.20
5.6.350.0030.01014.57
5.6.340.0090.00614.17
5.6.330.0030.00714.74
5.6.320.0080.00314.45
5.6.310.0100.00314.80
5.6.300.0060.02417.67
5.6.290.0020.03417.58
5.6.280.0070.02317.85
5.6.270.0050.03017.68
5.6.260.0050.03617.54
5.6.250.0130.03617.93
5.6.240.0050.02717.82
5.6.230.0050.02617.81
5.6.220.0050.04617.68
5.6.210.0090.02417.94
5.6.200.0050.03117.82
5.6.190.0070.04717.88
5.6.180.0080.03417.64
5.6.170.0100.02117.74
5.6.160.0020.02617.68
5.6.150.0000.03317.65
5.6.140.0020.04817.81
5.6.130.0030.02917.68
5.6.120.0060.02417.77
5.6.110.0060.02517.68
5.6.100.0060.02417.71
5.6.90.0050.02717.65
5.6.80.0050.02217.41
5.6.70.0070.02517.42
5.6.60.0050.04317.26
5.6.50.0070.01917.30
5.6.40.0070.02217.30
5.6.30.0120.02017.26
5.6.20.0020.02717.36
5.6.10.0070.02017.29
5.6.00.0030.02617.49
5.5.380.0070.02716.13
5.5.370.0080.03015.87
5.5.360.0050.02816.09
5.5.350.0050.02216.03
5.5.340.0100.02016.13
5.5.330.0080.02516.29
5.5.320.0060.02816.25
5.5.310.0020.03216.23
5.5.300.0020.04216.08
5.5.290.0140.01916.24
5.5.280.0080.03216.26
5.5.270.0070.02216.03
5.5.260.0050.02915.89
5.5.250.0090.02216.07
5.5.240.0030.03916.01
5.5.230.0020.02915.88
5.5.220.0030.02615.94
5.5.210.0080.02616.02
5.5.200.0020.02415.84
5.5.190.0050.02415.82
5.5.180.0060.02615.97
5.5.170.0060.00614.25
5.5.160.0050.02115.97
5.5.150.0050.02015.97
5.5.140.0030.02715.98
5.5.130.0050.02215.95
5.5.120.0030.03515.98
5.5.110.0040.02515.91
5.5.100.0050.02415.92
5.5.90.0050.02215.81
5.5.80.0040.02215.82
5.5.70.0050.02415.81
5.5.60.0020.02315.81
5.5.50.0020.02415.87
5.5.40.0070.02815.85
5.5.30.0050.02215.88
5.5.20.0030.02615.93
5.5.10.0070.02015.81
5.5.00.0040.02815.87
5.4.450.0060.03716.50
5.4.440.0060.01916.52
5.4.430.0030.02416.52
5.4.420.0060.02816.56
5.4.410.0020.02316.34
5.4.400.0050.02516.40
5.4.390.0020.02616.35
5.4.380.0000.02616.36
5.4.370.0060.02016.38
5.4.360.0040.02116.25
5.4.350.0060.01916.35
5.4.340.0030.02316.40
5.4.330.0060.00313.52
5.4.320.0030.02216.40
5.4.310.0080.01716.38
5.4.300.0020.02816.34
5.4.290.0030.02116.35
5.4.280.0000.02716.40
5.4.270.0020.02616.29
5.4.260.0060.02016.24
5.4.250.0040.02116.36
5.4.240.0030.02316.40
5.4.230.0020.02816.36
5.4.220.0060.02016.34
5.4.210.0040.02416.40
5.4.200.0050.02316.40
5.4.190.0060.02716.36
5.4.180.0050.02216.35
5.4.170.0130.01816.24
5.4.160.0080.01916.39
5.4.150.0020.02616.23
5.4.140.0060.02215.05
5.4.130.0050.02215.15
5.4.120.0030.02215.15
5.4.110.0020.03015.23
5.4.100.0090.01815.14
5.4.90.0060.01815.15
5.4.80.0070.01815.05
5.4.70.0030.02115.16
5.4.60.0020.02415.14
5.4.50.0060.01915.21
5.4.40.0030.02115.13
5.4.30.0020.02315.10
5.4.20.0050.02215.01
5.4.10.0050.01815.05
5.4.00.0080.02014.87
5.3.290.0020.02214.80
5.3.280.0050.02214.80
5.3.270.0060.02114.80
5.3.260.0050.02414.80
5.3.250.0070.01814.80
5.3.240.0010.02714.80
5.3.230.0030.02314.80
5.3.220.0030.02114.80
5.3.210.0090.01914.80
5.3.200.0030.02014.80
5.3.190.0080.02014.80
5.3.180.0050.02114.80
5.3.170.0090.02414.80
5.3.160.0040.02014.80
5.3.150.0020.02414.80
5.3.140.0050.02214.80
5.3.130.0050.01914.80
5.3.120.0000.02814.80
5.3.110.0070.01914.80
5.3.100.0070.01914.80
5.3.90.0080.01614.80
5.3.80.0030.03714.80
5.3.70.0060.01714.80
5.3.60.0070.02614.80
5.3.50.0030.02214.80
5.3.40.0050.01814.80
5.3.30.0030.02214.80
5.3.20.0020.02214.80
5.3.10.0070.01814.80
5.3.00.0030.02314.80
5.2.170.0030.03216.07
5.2.160.0000.03516.07
5.2.150.0030.03216.07
5.2.140.0000.03216.07
5.2.130.0000.03016.07
5.2.120.0000.03216.07
5.2.110.0000.03516.07
5.2.100.0030.02816.07
5.2.90.0030.02716.07
5.2.80.0030.02916.07
5.2.70.0030.02916.07
5.2.60.0040.02916.07
5.2.50.0100.02616.07
5.2.40.0060.02516.07
5.2.30.0040.04716.07
5.2.20.0030.03816.07
5.2.10.0030.03916.07
5.2.00.0030.04116.07
5.1.60.0070.03116.07
5.1.50.0000.03216.07
5.1.40.0000.02816.07
5.1.30.0040.02916.07
5.1.20.0000.02916.07
5.1.10.0000.03016.07
5.1.00.0040.02516.07
5.0.50.0140.01716.07
5.0.40.0040.01816.07
5.0.30.0090.03016.07
5.0.20.0040.02016.07
5.0.10.0060.02516.07
5.0.00.0040.02816.07
4.4.90.0000.01716.07
4.4.80.0000.01716.07
4.4.70.0000.02916.07
4.4.60.0030.03016.07
4.4.50.0000.03316.07
4.4.40.0030.02316.07
4.4.30.0000.01716.07
4.4.20.0000.01916.07
4.4.10.0000.01716.07
4.4.00.0030.02416.07
4.3.110.0000.02216.07
4.3.100.0000.02016.07
4.3.90.0030.01316.07
4.3.80.0070.03316.07
4.3.70.0000.03416.07
4.3.60.0030.01316.07
4.3.50.0000.01716.07
4.3.40.0090.02016.07
4.3.30.0000.01816.07
4.3.20.0030.02016.07
4.3.10.0000.02016.07
4.3.00.0000.01816.07

preferences:
38.81 ms | 400 KiB | 5 Q