3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlstr='<?xml version="1.0" encoding="utf-8"?> <!-- generator="Joomla! 1.5 - Open Source Content Management" --> <?xml-stylesheet href="/media/system/css/modal.css" type="text/css"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>9 Magazine</title> <description></description> <link>https://sarean.intelsuite.es</link> <lastBuildDate>Thu, 04 Apr 2019 14:23:48 +0000</lastBuildDate> <generator>Joomla! 1.5 - Open Source Content Management</generator> <language>es-es</language> <item> <title>Infografía: Paro registrado y afiliación a la Seguridad Social Álava - Marzo 2019</title> <link>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8891</link> <guid>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8891</guid> <description><![CDATA[<div class="K2FeedFullText"><iframe width="600" height="1862" frameborder="0" scrolling="no" src="https://create.piktochart.com/embed/37920055-paro-seguridad-social-alava-marzo-2019-copy"></iframe>...<!-- com --></div>]]></description> <author>jberista@kutxabank.es (Beristain Echave Jose Ignacio)</author> <category>9 Magazine</category> <pubDate>Thu, 04 Apr 2019 09:25:28 +0000</pubDate> </item> <item> <title>El automóvil clama un plan de ayudas tras el éxito del nuevo Renove vasco</title> <link>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8879</link> <guid>https://sarean.intelsuite.es?option=com_k2&amp;view=item&amp;id=8879</guid> <description><![CDATA[<div class="K2FeedFullText">El mercado del automóvil se ha acostumbrado a las ayudas. Sin incentivos, no hay ventas y la prueba del algodón está en el País <b>Vasco</b> y su ...<!-- com --></div>]]></description> <author>jberista@kutxabank.es (Beristain Echave Jose Ignacio)</author> <category>9 Magazine</category> <pubDate>Thu, 04 Apr 2019 08:20:25 +0000</pubDate> </item> </channel> </rss>'; $xmlobj= new SimpleXMLElement($xmlstr); var_dump($xmlobj->channel->item); //var_dump($xmlobj); $xmlarr=((array)$xmlobj); //var_dump($xmlarr); $xmlarrchan=((array)$xmlobj->channel); //var_dump($xmlarrchan); $xmlarritem=((array)$xmlobj->channel->item); //var_dump($xmlarritem);

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.00618.43
8.3.50.0120.00519.21
8.3.40.0070.00718.79
8.3.30.0090.00618.93
8.3.20.0000.00821.03
8.3.10.0040.00423.86
8.3.00.0040.00420.95
8.2.180.0160.00316.75
8.2.170.0120.00322.96
8.2.160.0100.00320.60
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0050.00318.16
8.2.120.0040.00426.35
8.2.110.0030.00719.52
8.2.100.0120.00017.91
8.2.90.0000.00817.75
8.2.80.0040.00418.90
8.2.70.0040.00417.93
8.2.60.0060.00317.75
8.2.50.0000.00817.88
8.2.40.0070.00719.39
8.2.30.0040.00419.46
8.2.20.0070.00018.27
8.2.10.0040.00419.63
8.2.00.0040.00418.24
8.1.280.0070.01125.92
8.1.270.0060.00322.16
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0030.00622.18
8.1.230.0080.00419.00
8.1.220.0050.00317.80
8.1.210.0080.00018.77
8.1.200.0030.00517.48
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0030.00618.73
8.1.160.0030.00519.04
8.1.150.0040.00419.03
8.1.140.0040.00419.25
8.1.130.0000.00820.54
8.1.120.0030.00317.59
8.1.110.0040.00417.65
8.1.100.0030.00517.69
8.1.90.0040.00417.55
8.1.80.0030.00517.56
8.1.70.0030.00617.59
8.1.60.0000.00817.82
8.1.50.0050.00217.77
8.1.40.0030.00617.70
8.1.30.0080.00017.77
8.1.20.0000.00917.79
8.1.10.0000.00817.69
8.1.00.0040.00417.73
8.0.300.0000.00818.77
8.0.290.0050.00216.88
8.0.280.0070.00018.59
8.0.270.0000.00817.44
8.0.260.0000.00618.67
8.0.250.0000.00717.14
8.0.240.0040.00417.04
8.0.230.0040.00416.98
8.0.220.0040.00416.90
8.0.210.0000.00717.06
8.0.200.0060.00017.13
8.0.190.0050.00317.18
8.0.180.0080.00017.07
8.0.170.0000.00916.96
8.0.160.0000.00817.00
8.0.150.0030.00617.04
8.0.140.0000.00717.08
8.0.130.0060.00013.42
8.0.120.0000.00816.96
8.0.110.0030.00516.89
8.0.100.0000.00816.79
8.0.90.0070.00016.91
8.0.80.0070.00716.97
8.0.70.0040.00416.85
8.0.60.0020.00517.11
8.0.50.0000.00717.10
8.0.30.0110.01017.21
8.0.20.0120.00917.22
8.0.10.0000.00717.32
8.0.00.0180.00516.99
7.4.330.0000.00516.98
7.4.320.0060.00016.72
7.4.300.0040.00416.78
7.4.290.0030.00316.77
7.4.280.0000.00716.81
7.4.270.0030.00616.83
7.4.260.0050.00316.71
7.4.250.0000.00716.71
7.4.240.0000.00716.73
7.4.230.0050.00316.84
7.4.220.0000.00816.79
7.4.210.0070.01016.71
7.4.200.0000.00716.90
7.4.160.0120.00816.73
7.4.130.0070.01316.62
7.4.120.0160.00716.80
7.4.110.0090.00916.77
7.4.100.0110.00816.70
7.4.90.0150.00316.73
7.4.80.0100.00819.39
7.4.70.0110.00716.69
7.4.60.0040.01416.60
7.4.50.0060.00916.85
7.4.40.0100.00716.65
7.4.00.0070.01015.09
7.3.330.0030.00313.37
7.3.320.0030.00313.29
7.3.310.0030.00316.43
7.3.300.0070.00016.49
7.3.290.0030.00316.42
7.3.280.0100.01016.45
7.3.260.0080.01216.62
7.3.240.0110.00816.55
7.3.230.0140.00316.53
7.3.210.0080.00816.48
7.3.200.0130.01016.40
7.3.190.0060.01116.51
7.3.180.0120.01216.43
7.3.170.0100.00716.52
7.3.160.0100.00716.79
7.3.120.0080.00414.77
7.3.110.0100.00715.05
7.3.100.0040.00914.86
7.3.90.0040.00714.91
7.3.80.0060.00314.76
7.3.70.0060.00614.70
7.3.60.0070.01014.69
7.3.50.0090.00614.93
7.3.40.0100.00714.86
7.3.30.0070.00814.99
7.3.20.0120.00716.74
7.3.10.0060.00616.82
7.3.00.0070.01016.71
7.2.330.0040.01416.66
7.2.320.0070.01016.74
7.2.310.0030.01316.80
7.2.300.0110.00716.66
7.2.290.0140.00316.94
7.2.250.0100.00714.95
7.2.240.0130.00614.93
7.2.230.0030.01015.36
7.2.220.0000.01415.32
7.2.210.0030.01015.04
7.2.200.0070.00315.06
7.2.190.0070.01015.04
7.2.180.0090.00615.18
7.2.170.0050.01014.98
7.2.160.0060.00715.01
7.2.150.0130.00916.93
7.2.140.0040.00916.66
7.2.130.0050.01016.83
7.2.120.0090.00616.77
7.2.110.0090.01017.04
7.2.100.0060.01216.81
7.2.90.0100.00817.08
7.2.80.0060.01116.97
7.2.70.0110.00716.96
7.2.60.0110.00917.01
7.2.50.0070.00516.89
7.2.40.0050.00816.92
7.2.30.0140.00716.94
7.2.20.0100.01116.90
7.2.10.0090.01017.03
7.2.00.0090.01116.88
7.1.330.0070.00415.81
7.1.320.0000.01215.90
7.1.310.0040.00715.84
7.1.300.0000.01415.91
7.1.290.0040.00415.80
7.1.280.0080.00615.91
7.1.270.0100.00715.92
7.1.260.0060.00815.69
7.1.250.0100.00415.93
7.1.240.0150.00915.83
7.1.230.0140.00215.59
7.1.220.0150.00815.79
7.1.210.0130.00415.80
7.1.200.0120.00715.79
7.1.190.0150.00515.73
7.1.180.0160.00415.75
7.1.170.0060.01215.65
7.1.160.0090.00615.67
7.1.150.0100.00515.85
7.1.140.0150.00815.90
7.1.130.0060.01015.74
7.1.120.0130.00815.52
7.1.110.0180.00515.79
7.1.100.0150.00615.84
7.1.90.0110.01215.90
7.1.80.0080.01415.87
7.1.70.0100.01215.84
7.1.60.0150.00915.85
7.1.50.0060.00915.77
7.1.40.0040.00915.66
7.1.30.0110.00515.85
7.1.20.0100.00515.77
7.1.10.0140.00515.86
7.1.00.0120.00915.65
7.0.330.0060.00815.47
7.0.320.0130.00315.39
7.0.310.0100.00915.45
7.0.300.0080.01315.53
7.0.290.0130.00815.30
7.0.280.0180.00915.39
7.0.270.0190.00615.30
7.0.260.0070.00915.50
7.0.250.0160.00615.33
7.0.240.0130.01115.31
7.0.230.0120.01015.54
7.0.220.0160.00515.59
7.0.210.0110.00615.58
7.0.200.0100.01315.34
7.0.190.0070.00915.39
7.0.180.0150.00815.31
7.0.170.0080.01315.50
7.0.160.0110.00515.51
7.0.150.0180.00515.40
7.0.140.0080.01315.40
7.0.130.0120.00715.49
7.0.120.0190.00415.36
7.0.110.0100.00315.33
7.0.100.0150.00715.36
7.0.90.0120.00315.47
7.0.80.0160.00713.54
7.0.70.0070.00915.40
7.0.60.0070.01115.39
7.0.50.0070.01215.55
7.0.40.0160.00515.20
7.0.30.0070.01015.39
7.0.20.0140.00515.56
7.0.10.0160.00515.63
7.0.00.0090.02215.49
5.6.400.0100.00914.47
5.6.390.0190.00314.32
5.6.380.0140.01014.48
5.6.370.0180.01114.19
5.6.360.0110.01314.30
5.6.350.0130.01014.26
5.6.340.0200.00714.30
5.6.330.0150.01414.32
5.6.320.0110.01414.20
5.6.310.0130.00914.40
5.6.300.0120.00514.06
5.6.290.0140.00314.27
5.6.280.0160.01014.04
5.6.270.0080.01114.03
5.6.260.0090.00814.16
5.6.250.0100.01014.11
5.6.240.0170.00714.11
5.6.230.0120.00914.22
5.6.220.0120.00614.25
5.6.210.0100.00914.16
5.6.200.0220.00714.05
5.6.190.0140.01114.14
5.6.180.0070.01314.20
5.6.170.0100.01014.16
5.6.160.0110.00514.24
5.6.150.0140.00814.39
5.6.140.0200.00414.36
5.6.130.0130.01814.16
5.6.120.0130.01414.10
5.6.110.0140.00414.23
5.6.100.0160.01314.56
5.6.90.0130.01114.35
5.6.80.0090.00514.31
5.6.70.0190.00814.21
5.6.60.0100.01014.16
5.6.50.0150.01614.09
5.6.40.0140.01314.08
5.6.30.0140.01014.16
5.6.20.0120.00914.02
5.6.10.0140.00714.29
5.6.00.0120.00514.09
5.5.380.0150.00614.25
5.5.370.0180.01014.28
5.5.360.0160.00814.45
5.5.350.0140.01014.50
5.5.340.0160.01114.30
5.5.330.0150.00814.35
5.5.320.0190.01114.37
5.5.310.0180.00714.32
5.5.300.0150.01014.40
5.5.290.0180.00814.38
5.5.280.0160.01214.24
5.5.270.0130.01214.35
5.5.260.0170.00414.58
5.5.250.0160.00414.24
5.5.240.0180.00614.12
5.5.230.0160.00614.36
5.5.220.0190.00214.19
5.5.210.0050.01514.06
5.5.200.0150.01214.26
5.5.190.0160.01014.25
5.5.180.0180.00914.22
5.5.170.0160.00914.20
5.5.160.0140.00914.34
5.5.150.0060.01014.41
5.5.140.0100.01414.32
5.5.130.0210.00614.34
5.5.120.0110.01314.23
5.5.110.0110.01414.34
5.5.100.0120.00814.35
5.5.90.0130.01214.37
5.5.80.0150.00714.11
5.5.70.0160.00714.08
5.5.60.0120.00614.23
5.5.50.0120.01214.24
5.5.40.0090.01014.12
5.5.30.0110.01214.21
5.5.20.0130.01114.12
5.5.10.0170.00914.33
5.5.00.0150.00714.06
5.4.450.0130.00411.02
5.4.440.0100.00711.11
5.4.430.0080.00611.01
5.4.420.0030.01210.94
5.4.410.0070.01110.97
5.4.400.0090.00911.06
5.4.390.0130.00710.92
5.4.380.0140.00410.97
5.4.370.0120.00310.92
5.4.360.0110.00410.73
5.4.350.0130.00611.00
5.4.340.0120.00610.89
5.4.330.0030.01010.97
5.4.320.0080.00611.04
5.4.310.0140.00010.87
5.4.300.0080.00811.10
5.4.290.0130.00311.00
5.4.280.0080.00610.99
5.4.270.0090.00811.01
5.4.260.0090.00710.97
5.4.250.0060.01010.81
5.4.240.0100.00711.00
5.4.230.0130.00711.02
5.4.220.0080.00810.98
5.4.210.0190.00210.89
5.4.200.0120.00210.95
5.4.190.0100.00910.96
5.4.180.0110.00511.04
5.4.170.0070.00810.83
5.4.160.0070.00910.96
5.4.150.0100.00610.96
5.4.140.0130.00310.85
5.4.130.0090.00710.89
5.4.120.0100.00410.86
5.4.110.0130.00610.99
5.4.100.0070.00710.76
5.4.90.0130.00510.88
5.4.80.0080.00510.98
5.4.70.0140.00710.95
5.4.60.0050.01010.91
5.4.50.0120.00610.81
5.4.40.0140.00811.00
5.4.30.0110.00810.94
5.4.20.0170.00611.00
5.4.10.0080.00711.02
5.4.00.0100.00710.92
5.3.290.0030.01110.70
5.3.280.0080.01010.50
5.3.270.0140.00310.58
5.3.260.0110.00810.53
5.3.250.0140.00410.50
5.3.240.0110.00510.49
5.3.230.0120.00410.42
5.3.220.0110.00710.41
5.3.210.0110.00410.35
5.3.200.0120.00610.43
5.3.190.0100.00810.44
5.3.180.0110.00310.49
5.3.170.0090.00710.58
5.3.160.0100.00810.60
5.3.150.0120.00410.55
5.3.140.0120.00510.47
5.3.130.0070.00810.50
5.3.120.0180.00810.54
5.3.110.0080.00410.54
5.3.100.0110.00210.39
5.3.90.0120.00510.62
5.3.80.0110.00210.28
5.3.70.0100.00910.34
5.3.60.0120.00510.47
5.3.50.0090.00610.45
5.3.40.0020.01110.41
5.3.30.0120.00310.47
5.3.20.0090.00810.46
5.3.10.0090.00810.26
5.3.00.0130.00710.18
5.2.170.0100.0049.41
5.2.160.0110.0009.54
5.2.150.0090.0069.54
5.2.140.0080.0039.40
5.2.130.0050.0119.51
5.2.120.0020.0099.62
5.2.110.0100.0059.37
5.2.100.0070.0059.60
5.2.90.0110.0039.38
5.2.80.0110.0059.35
5.2.70.0090.0059.46
5.2.60.0070.0089.34
5.2.50.0030.0079.31
5.2.40.0100.0029.48
5.2.30.0130.0009.30
5.2.20.0130.0029.17
5.2.10.0080.0059.26
5.2.00.0080.0059.18
5.1.60.0080.0048.52
5.1.50.0100.0038.46
5.1.40.0060.0068.61
5.1.30.0080.0048.66
5.1.20.0070.0058.67
5.1.10.0020.0108.55
5.1.00.0070.0058.21
5.0.50.0090.0048.21
5.0.40.0040.0068.21
5.0.30.0080.0038.21
5.0.20.0070.0048.21
5.0.10.0060.0018.21
5.0.00.0050.0048.21
4.4.90.0050.0038.21
4.4.80.0020.0078.21
4.4.70.0070.0008.21
4.4.60.0080.0028.21
4.4.50.0020.0048.21
4.4.40.0050.0018.21
4.4.30.0020.0038.21
4.4.20.0020.0048.21
4.4.10.0060.0068.21
4.4.00.0020.0068.21
4.3.110.0010.0058.21
4.3.100.0060.0018.21
4.3.90.0060.0008.21
4.3.80.0040.0078.21
4.3.70.0050.0058.21
4.3.60.0030.0038.21
4.3.50.0030.0058.21
4.3.40.0020.0048.21
4.3.30.0010.0038.21
4.3.20.0050.0008.21
4.3.10.0040.0018.21
4.3.00.0030.0058.21

preferences:
67.36 ms | 401 KiB | 5 Q