3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on vIXRS

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
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.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
hhvm-3.22.00.1760.17990.39
hhvm-3.21.30.1240.15388.95
hhvm-3.21.00.1010.13689.33
hhvm-3.20.20.0820.12289.50
hhvm-3.19.20.0830.12588.43
hhvm-3.18.50.1070.14487.35
hhvm-3.18.40.0770.13287.33
hhvm-3.17.30.0790.12386.46
hhvm-3.15.40.0710.10584.39
hhvm-3.13.20.1010.13995.71
hhvm-3.12.140.0850.11894.40
hhvm-3.11.10.0870.13386.57
hhvm-3.10.10.0860.14083.70
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