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.01218.45
8.3.50.0070.00919.20
8.3.40.0170.00318.79
8.3.30.0120.00318.79
8.3.20.0090.00020.85
8.3.10.0060.00323.90
8.3.00.0040.00420.68
8.2.180.0130.01016.74
8.2.170.0130.00722.96
8.2.160.0170.00720.65
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0060.00318.34
8.2.120.0040.00426.35
8.2.110.0050.00522.63
8.2.100.0060.00617.85
8.2.90.0000.00818.34
8.2.80.0050.00319.14
8.2.70.0000.00918.05
8.2.60.0030.00618.22
8.2.50.0000.00818.10
8.2.40.0060.00319.64
8.2.30.0000.00919.36
8.2.20.0040.00418.26
8.2.10.0030.00519.47
8.2.00.0000.00818.33
8.1.280.0040.01225.92
8.1.270.0040.00424.22
8.1.260.0090.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00322.31
8.1.230.0080.00421.10
8.1.220.0030.00617.77
8.1.210.0040.00420.09
8.1.200.0030.00617.47
8.1.190.0030.00517.35
8.1.180.0060.00318.10
8.1.170.0050.00318.80
8.1.160.0040.00419.04
8.1.150.0000.00818.98
8.1.140.0090.00019.20
8.1.130.0000.00720.49
8.1.120.0050.00317.54
8.1.110.0080.00017.64
8.1.100.0050.00317.52
8.1.90.0030.00517.77
8.1.80.0040.00417.66
8.1.70.0040.00417.71
8.1.60.0060.00317.83
8.1.50.0070.00317.59
8.1.40.0060.00317.61
8.1.30.0030.00517.91
8.1.20.0040.00417.88
8.1.10.0040.00417.80
8.1.00.0000.00817.60
8.0.300.0070.00320.25
8.0.290.0000.00716.75
8.0.280.0060.00318.64
8.0.270.0040.00417.41
8.0.260.0000.00718.54
8.0.250.0030.00617.00
8.0.240.0050.00317.14
8.0.230.0050.00317.12
8.0.220.0040.00417.11
8.0.210.0040.00416.96
8.0.200.0000.00717.17
8.0.190.0040.00417.12
8.0.180.0000.00817.11
8.0.170.0000.00917.11
8.0.160.0080.00017.09
8.0.150.0060.00316.87
8.0.140.0040.00416.91
8.0.130.0030.00313.48
8.0.120.0040.00416.85
8.0.110.0040.00417.03
8.0.100.0000.00716.91
8.0.90.0040.00417.09
8.0.80.0060.00917.03
8.0.70.0080.00017.01
8.0.60.0040.00417.11
8.0.50.0030.00516.88
8.0.30.0150.00517.28
8.0.20.0040.01817.32
8.0.10.0050.00317.29
8.0.00.0090.01416.93
7.4.330.0020.00216.95
7.4.320.0030.00316.82
7.4.300.0060.00016.82
7.4.290.0040.00416.69
7.4.280.0040.00416.77
7.4.270.0000.00716.80
7.4.260.0040.00416.80
7.4.250.0040.00416.77
7.4.240.0000.00816.66
7.4.230.0000.00716.69
7.4.220.0030.00616.77
7.4.210.0110.00716.80
7.4.200.0040.00416.88
7.4.160.0110.00916.78
7.4.130.0090.01516.81
7.4.120.0080.01716.66
7.4.110.0100.01016.52
7.4.100.0200.00716.63
7.4.90.0150.00816.88
7.4.80.0110.00719.39
7.4.70.0100.01016.73
7.4.60.0090.00916.53
7.4.50.0080.00816.68
7.4.40.0150.01016.65
7.4.00.0070.01014.88
7.3.330.0030.00313.29
7.3.320.0030.00313.37
7.3.310.0040.00416.29
7.3.300.0020.00516.46
7.3.290.0040.01116.55
7.3.280.0120.01116.43
7.3.260.0170.00716.53
7.3.240.0120.01216.64
7.3.230.0070.01116.70
7.3.210.0110.01116.59
7.3.200.0130.00616.76
7.3.190.0170.00016.82
7.3.180.0100.01016.75
7.3.170.0070.01316.43
7.3.160.0100.01016.64
7.3.40.0060.00814.62
7.3.30.0090.00714.83
7.3.20.0100.00716.50
7.3.10.0070.01216.49
7.3.00.0140.01115.81
7.2.330.0050.01716.46
7.2.320.0100.01616.56
7.2.310.0070.01317.04
7.2.300.0180.00516.63
7.2.290.0090.01216.53
7.2.170.0140.00914.89
7.2.160.0060.01014.82
7.2.150.0080.00917.02
7.2.140.0160.00616.83
7.2.130.0150.00815.72
7.2.120.0070.00916.10
7.2.110.0100.01915.98
7.2.100.0150.01115.79
7.2.90.0150.00716.06
7.2.80.0120.00616.01
7.2.70.0090.01316.04
7.2.60.0190.00816.09
7.2.50.0140.00715.82
7.2.40.0220.00216.10
7.2.30.0180.00616.11
7.2.20.0160.00415.86
7.2.10.0110.00715.74
7.2.00.0120.00715.65
7.1.280.0140.01315.97
7.1.270.0150.00215.66
7.1.260.0140.00615.56
7.1.250.0170.00514.92
7.1.240.0150.01114.71
7.1.230.0130.01114.92
7.1.220.0220.01014.98
7.1.210.0140.00614.88
7.1.200.0150.01114.71
7.1.190.0170.00714.81
7.1.180.0260.00514.83
7.1.170.0220.00714.69
7.1.160.0160.00614.51
7.1.150.0170.01014.87
7.1.140.0090.01214.94
7.1.130.0200.00914.96
7.1.120.0160.01415.00
7.1.110.0200.01015.07
7.1.100.0110.00914.99
7.1.90.0180.01015.02
7.1.80.0130.00814.91
7.1.70.0190.00414.69
7.1.60.0120.01014.91
7.1.50.0110.00614.91
7.1.40.0100.00714.78
7.1.30.0170.00515.03
7.1.20.0070.01414.95
7.1.10.0120.00314.98
7.1.00.0140.00814.83
7.0.330.0180.00614.54
7.0.320.0110.01314.54
7.0.310.0170.00814.31
7.0.300.0220.00714.45
7.0.290.0190.00614.43
7.0.280.0120.01014.32
7.0.270.0190.00714.61
7.0.260.0140.00714.65
7.0.250.0140.00714.64
7.0.240.0190.00514.59
7.0.230.0510.00814.45
7.0.220.0100.00814.66
7.0.210.0070.01314.41
7.0.200.0120.00614.59
7.0.190.0170.00614.63
7.0.180.0100.00714.75
7.0.170.0150.01014.55
7.0.160.0070.01214.66
7.0.150.0120.00714.60
7.0.140.0150.00614.53
7.0.130.0180.00414.61
7.0.120.0200.00914.56
7.0.110.0110.00914.43
7.0.100.0060.00914.67
7.0.90.0140.00514.65
7.0.80.0210.00414.51
7.0.70.0150.00814.58
7.0.60.0130.01014.48
7.0.50.0150.00714.54
7.0.40.0340.00814.53
7.0.30.0140.00914.56
7.0.20.0120.01413.63
7.0.10.0120.00814.70
7.0.00.0090.01114.56
5.6.400.0150.00514.38
5.6.390.0100.00914.06
5.6.380.0170.00514.35
5.6.370.0130.00814.38
5.6.360.0110.01114.16
5.6.350.0120.01114.36
5.6.340.0090.01014.19
5.6.330.0120.01514.18
5.6.320.0110.01114.27
5.6.310.0110.01214.29
5.6.300.0110.01214.41
5.6.290.0120.00814.39
5.6.280.0140.01414.50
5.6.270.0150.00914.33
5.6.260.0150.00714.45
5.6.250.0110.00914.38
5.6.240.0120.00614.38
5.6.230.0100.01514.41
5.6.220.0140.01014.37
5.6.210.0100.01014.51
5.6.200.0120.01114.35
5.6.190.0190.00514.25
5.6.180.0060.01314.42
5.6.170.0130.00814.20
5.6.160.0170.00914.42
5.6.150.0160.00914.42
5.6.140.0150.00814.38
5.6.130.0110.01314.25
5.6.120.0140.01114.36
5.6.110.0080.01614.49
5.6.100.0140.01414.34
5.6.90.0100.01714.30
5.6.80.0140.00614.24
5.6.70.0060.01614.29
5.6.60.0090.00814.36
5.6.50.0120.00614.14
5.6.40.0110.01114.36
5.6.30.0060.01614.35
5.6.20.0140.00914.14
5.6.10.0140.01014.31
5.6.00.0130.00814.22
5.5.380.0120.00514.32
5.5.370.0120.01014.32
5.5.360.0100.00714.31
5.5.350.0150.01114.21
5.5.340.0100.01214.29
5.5.330.0130.00514.33
5.5.320.0080.01014.24
5.5.310.0090.01014.13
5.5.300.0190.00714.06
5.5.290.0080.00814.31
5.5.280.0080.01414.21
5.5.270.0160.01014.20
5.5.260.0120.01414.01
5.5.250.0110.00814.18
5.5.240.0070.01214.15
5.5.230.0080.01214.25
5.5.220.0090.00714.35
5.5.210.0110.01114.06
5.5.200.0050.01014.12
5.5.190.0100.01014.25
5.5.180.0160.00714.21
5.5.170.0130.00714.12
5.5.160.0110.01114.09
5.5.150.0100.00714.18
5.5.140.0100.01214.04
5.5.130.0180.00314.28
5.5.120.0150.00914.25
5.5.110.0140.00614.26
5.5.100.0100.01114.23
5.5.90.0160.00614.14
5.5.80.0130.00914.28
5.5.70.0100.00814.31
5.5.60.0130.00914.10
5.5.50.0070.01314.30
5.5.40.0100.01114.22
5.5.30.0110.00814.16
5.5.20.0110.01114.15
5.5.10.0040.01114.36
5.5.00.0170.00614.05
5.4.450.0070.00711.14
5.4.440.0130.00811.08
5.4.430.0100.00810.84
5.4.420.0070.01111.01
5.4.410.0100.00811.06
5.4.400.0070.00710.96
5.4.390.0110.00510.89
5.4.380.0070.00710.68
5.4.370.0100.00710.90
5.4.360.0070.00510.98
5.4.350.0140.00310.90
5.4.340.0130.00410.88
5.4.330.0050.00810.76
5.4.320.0110.00610.94
5.4.310.0080.00410.87
5.4.300.0050.00810.90
5.4.290.0080.00710.72
5.4.280.0100.00310.79
5.4.270.0100.00310.70
5.4.260.0170.00210.78
5.4.250.0040.01210.72
5.4.240.0070.00610.75
5.4.230.0080.00810.94
5.4.220.0110.00310.88
5.4.210.0020.00910.77
5.4.200.0080.01310.83
5.4.190.0120.00810.63
5.4.180.0100.00810.80
5.4.170.0070.00510.87
5.4.160.0090.00710.85
5.4.150.0080.00610.71
5.4.140.0130.00010.84
5.4.130.0110.00510.70
5.4.120.0110.00811.11
5.4.110.0070.00610.92
5.4.100.0100.00710.93
5.4.90.0100.00610.84
5.4.80.0110.00210.98
5.4.70.0110.00310.80
5.4.60.0100.00610.99
5.4.50.0090.00811.06
5.4.40.0110.00810.93
5.4.30.0060.00910.85
5.4.20.0080.01010.87
5.4.10.0060.00610.84
5.4.00.0050.00910.94
5.3.290.0080.00810.61
5.3.280.0050.00410.45
5.3.270.0040.00710.59
5.3.260.0080.00510.57
5.3.250.0080.00410.56
5.3.240.0070.00410.43
5.3.230.0090.00410.42
5.3.220.0120.00310.29
5.3.210.0030.00610.43
5.3.200.0060.01410.35
5.3.190.0110.00410.44
5.3.180.0110.00510.48
5.3.170.0080.00510.61
5.3.160.0060.00610.57
5.3.150.0060.01010.58
5.3.140.0070.00610.49
5.3.130.0060.00610.45
5.3.120.0110.00610.55
5.3.110.0040.00710.40
5.3.100.0070.00810.55
5.3.90.0060.00710.49
5.3.80.0120.00410.41
5.3.70.0100.00610.40
5.3.60.0100.00910.59
5.3.50.0100.00610.33
5.3.40.0110.00610.42
5.3.30.0090.00810.38
5.3.20.0160.00510.57
5.3.10.0090.00710.26
5.3.00.0040.01210.25
5.2.170.0040.0069.62
5.2.160.0070.0039.53
5.2.150.0090.0059.63
5.2.140.0070.0119.51
5.2.130.0140.0009.32
5.2.120.0120.0049.59
5.2.110.0060.0049.59
5.2.100.0100.0049.60
5.2.90.0090.0039.51
5.2.80.0110.0049.36
5.2.70.0070.0079.35
5.2.60.0140.0049.37
5.2.50.0070.0109.48
5.2.40.0080.0139.47
5.2.30.0090.0059.31
5.2.20.0100.0049.31
5.2.10.0040.0109.36
5.2.00.0090.0019.21
5.1.60.0090.0038.52
5.1.50.0100.0058.59
5.1.40.0100.0068.69
5.1.30.0060.0068.80
5.1.20.0080.0068.74
5.1.10.0040.0088.62
5.1.00.0100.0048.35
5.0.50.0120.0008.21
5.0.40.0070.0058.21
5.0.30.0080.0058.21
5.0.20.0120.0008.21
5.0.10.0030.0078.21
5.0.00.0010.0088.21
4.4.90.0050.0028.21
4.4.80.0010.0058.21
4.4.70.0060.0038.21
4.4.60.0060.0058.21
4.4.50.0050.0078.21
4.4.40.0040.0058.21
4.4.30.0040.0048.21
4.4.20.0070.0048.21
4.4.10.0050.0048.21
4.4.00.0040.0078.21
4.3.110.0040.0078.21
4.3.100.0040.0058.21
4.3.90.0050.0038.21
4.3.80.0030.0058.21
4.3.70.0020.0048.21
4.3.60.0080.0028.21
4.3.50.0040.0058.21
4.3.40.0060.0038.21
4.3.30.0070.0018.21
4.3.20.0040.0048.21
4.3.10.0020.0068.21
4.3.00.0010.0068.21

preferences:
71.35 ms | 401 KiB | 5 Q