3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0"> <channel> <title>Breaking News - Racer X Online</title> <link>http://racerxonline.com/</link> <description> Racer X Online is the world\'s top source for breaking motocross and supercross news. </description> <lastBuildDate>Thu, 09 Apr 2015 02:07:26 -0400</lastBuildDate> <ttl>10</ttl> <language>En</language> <atom:link href="http://racerxonline.com/feeds/rss/category/breaking-news" rel="self" type="application/rss+xml"/> <copyright>Copyright 2015 - Racer X Online</copyright> <image> <link>http://racerxonline.com/</link> <title>Breaking News - Racer X Online</title> <url>http://rx.iscdn.net/i/logos/racer-x-thumb.png</url> </image> <item> <title>Houston Animated Track Map</title> <link> http://racerxonline.com/2015/04/08/houston-animated-track-map?utm_medium=RSS&utm_source=Feed&utm_campaign=Breaking+News+-+Racer+X+Online </link> <guid> http://racerxonline.com/2015/04/08/houston-animated-track-map </guid> <pubDate>Wed, 08 Apr 2015 13:00:00 -0400</pubDate> <description> <![CDATA[ Take a lap with the green arrow. ]]> </description> <media:content url="//rx.iscdn.net/2015/04/96341_rd14_houston01thumb.jpg" type="image/jpeg" medium="image"/> </item> </channel> </rss>'; $xml = simplexml_load_string( $xml); foreach( $rss->channel->item as $child) { echo $child . "\n"; }

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.0070.00717.13
8.3.50.0040.01118.07
8.3.40.0090.00919.23
8.3.30.0100.00319.17
8.3.20.0080.00020.66
8.3.10.0040.00421.89
8.3.00.0080.00019.37
8.2.180.0130.00718.68
8.2.170.0040.01122.96
8.2.160.0030.01022.56
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.81
8.2.110.0060.00320.77
8.2.100.0040.00818.34
8.2.90.0000.00819.46
8.2.80.0030.00618.00
8.2.70.0050.00317.88
8.2.60.0000.00918.05
8.2.50.0070.00218.07
8.2.40.0000.00718.41
8.2.30.0000.00719.55
8.2.20.0080.00017.94
8.2.10.0000.00818.46
8.2.00.0000.00818.23
8.1.280.0110.00425.92
8.1.270.0080.00024.66
8.1.260.0000.00926.35
8.1.250.0070.00028.09
8.1.240.0090.00024.18
8.1.230.0070.00419.40
8.1.220.0030.00617.91
8.1.210.0030.00618.77
8.1.200.0090.00317.60
8.1.190.0040.00417.38
8.1.180.0040.00418.10
8.1.170.0060.00318.76
8.1.160.0000.00722.26
8.1.150.0020.00519.17
8.1.140.0030.00517.71
8.1.130.0000.00718.06
8.1.120.0040.00417.77
8.1.110.0050.00317.65
8.1.100.0030.00517.60
8.1.90.0040.00417.57
8.1.80.0040.00417.75
8.1.70.0000.00717.60
8.1.60.0050.00317.94
8.1.50.0060.00317.84
8.1.40.0070.00317.79
8.1.30.0030.00517.77
8.1.20.0080.00017.91
8.1.10.0060.00317.73
8.1.00.0040.00717.75
8.0.300.0030.00618.77
8.0.290.0060.00316.88
8.0.280.0050.00318.64
8.0.270.0030.00517.54
8.0.260.0000.00817.59
8.0.250.0030.00517.18
8.0.240.0030.00317.18
8.0.230.0060.00017.35
8.0.220.0030.00317.07
8.0.210.0070.00017.03
8.0.200.0000.00617.30
8.0.190.0030.00617.35
8.0.180.0040.00417.27
8.0.170.0040.00417.15
8.0.160.0000.00817.30
8.0.150.0040.00417.07
8.0.140.0000.00717.20
8.0.130.0030.00313.60
8.0.120.0030.00517.07
8.0.110.0000.00817.01
8.0.100.0040.00417.07
8.0.90.0000.00717.28
8.0.80.0060.01217.20
8.0.70.0020.00517.20
8.0.60.0090.00017.19
8.0.50.0000.00716.96
8.0.30.0080.01717.31
8.0.20.0140.00717.48
8.0.10.0000.00717.20
8.0.00.0070.01016.89
7.4.330.0020.00215.36
7.4.320.0030.00316.87
7.4.300.0030.00316.84
7.4.290.0080.00016.86
7.4.280.0000.00816.78
7.4.270.0000.00716.78
7.4.260.0030.00316.78
7.4.250.0040.00416.76
7.4.240.0000.00716.80
7.4.230.0030.00316.78
7.4.220.0110.01816.88
7.4.210.0110.00816.78
7.4.200.0040.00416.66
7.4.160.0140.00316.92
7.4.150.0070.01417.40
7.4.140.0130.00617.86
7.4.130.0110.00616.70
7.4.120.0110.01016.65
7.4.110.0080.00816.79
7.4.100.0110.00616.83
7.4.90.0090.00616.81
7.4.80.0070.01619.39
7.4.70.0150.00016.71
7.4.60.0040.01216.73
7.4.50.0030.00616.56
7.4.40.0140.00916.90
7.4.30.0160.00016.87
7.4.00.0030.01315.28
7.3.330.0000.00613.14
7.3.320.0030.00313.27
7.3.310.0000.00716.46
7.3.300.0030.00316.49
7.3.290.0000.00716.32
7.3.280.0070.01016.46
7.3.270.0110.00717.40
7.3.260.0060.01116.63
7.3.250.0120.00616.54
7.3.240.0030.01316.69
7.3.230.0000.01816.67
7.3.210.0070.01716.53
7.3.200.0070.01319.39
7.3.190.0070.01616.51
7.3.180.0060.01116.42
7.3.170.0060.01216.57
7.3.160.0090.01216.73
7.3.10.0060.00916.61
7.3.00.0040.01416.79
7.2.330.0170.02017.00
7.2.320.0090.00916.95
7.2.310.0080.00816.66
7.2.300.0030.01516.93
7.2.290.0090.00817.02
7.2.130.0000.01817.01
7.2.120.0060.00617.02
7.2.110.0070.00417.11
7.2.100.0000.01517.07
7.2.90.0060.00617.16
7.2.80.0030.00616.77
7.2.70.0090.00617.05
7.2.60.0050.00816.86
7.2.50.0070.00717.05
7.2.40.0060.00617.00
7.2.30.0090.00316.99
7.2.20.0060.01017.01
7.2.10.0030.00716.78
7.2.00.0010.01018.38
7.1.250.0030.01315.73
7.1.200.0040.00715.59
7.1.100.0090.00917.95
7.1.70.0040.00817.30
7.1.60.0130.01019.46
7.1.50.0000.02216.75
7.1.00.0030.07722.53
7.0.200.0140.01016.52
7.0.140.0100.05022.09
7.0.60.0170.06019.89
7.0.50.0130.07317.97
7.0.40.0000.04720.49
7.0.30.0170.05020.18
7.0.20.0370.07720.21
7.0.10.0130.08020.24
7.0.00.0070.04320.21
5.6.280.0030.09021.14
5.6.210.0070.08320.67
5.6.200.0030.08318.26
5.6.190.0170.03020.86
5.6.180.0130.04720.79
5.6.170.0170.04320.56
5.6.160.0100.07320.64
5.6.150.0100.04318.27
5.6.140.0100.07318.39
5.6.130.0100.08318.22
5.6.120.0030.07321.23
5.6.110.0070.08321.19
5.6.100.0130.04721.00
5.6.90.0030.04021.20
5.6.80.0130.06320.60
5.5.350.0270.08020.39
5.5.340.0100.07718.18
5.5.330.0070.08720.61
5.5.320.0000.05720.37
5.5.310.0370.05720.59
5.5.300.0070.07018.04
5.5.290.0100.06718.05
5.5.280.0100.03720.76
5.5.270.0070.08320.78
5.5.260.0200.07321.05
5.5.250.0130.07720.62
5.5.240.0000.08020.30
5.4.450.0630.06319.47
5.4.440.0600.06719.56
5.4.430.0530.05019.65
5.4.420.0570.05719.63
5.4.410.0530.05319.44
5.4.400.0570.06319.33
5.4.390.0870.05718.80
5.4.380.0930.04018.59
5.4.370.0700.06018.61
5.4.360.0770.05718.59
5.4.350.0930.04718.61
5.4.340.0800.05718.80
5.4.320.0800.05318.74
5.4.310.0870.04318.80
5.4.300.0830.05018.61
5.4.290.0830.06018.90
5.4.280.0870.05718.60
5.4.270.0870.04318.76
5.4.260.0870.06318.77
5.4.250.0770.05018.84
5.4.240.0730.06318.79
5.4.230.1000.05718.75
5.4.220.1170.07318.83
5.4.210.1200.06718.83
5.4.200.0830.05316.63
5.4.190.0830.05018.87
5.4.180.0900.05718.57
5.4.170.0770.06018.57
5.4.160.0930.06318.56
5.4.150.0800.06718.73
5.4.140.0800.06316.45
5.4.130.0900.05316.47
5.4.120.1170.07716.29
5.4.110.0800.04716.21
5.4.100.0830.05716.42
5.4.90.1030.05016.19
5.4.80.0970.06716.20
5.4.70.0800.05716.30
5.4.60.0800.05716.22
5.4.50.0800.05716.37
5.4.40.1130.06316.47
5.4.30.1030.03716.20
5.4.20.1030.04716.38
5.4.10.0870.05016.39
5.4.00.0670.05715.78
5.3.290.0800.05314.96
5.3.280.0730.06014.80
5.3.270.0770.06014.91
5.3.260.0770.05714.81
5.3.250.0900.04714.78
5.3.240.0930.05314.75
5.3.230.1030.07014.74
5.3.220.0900.08014.81
5.3.210.0830.05014.70
5.3.200.0900.05314.81
5.3.190.1070.04714.79
5.3.180.0830.06014.77
5.3.170.0830.05314.74
5.3.160.0870.05014.75
5.3.150.0770.05714.74
5.3.140.0800.06314.80
5.3.130.1030.05014.87
5.3.120.0930.06014.83
5.3.110.0970.05314.83
5.3.100.1000.05014.21
5.3.90.0970.05014.18
5.3.80.1100.05714.13
5.3.70.0970.05014.19
5.3.60.0970.05714.14
5.3.50.1030.06014.14
5.3.40.1270.05014.08
5.3.30.0700.05714.13
5.3.20.1100.04713.79
5.3.10.0800.05013.84
5.3.00.0770.05013.82
5.2.170.0600.04711.33
5.2.160.0730.04311.25
5.2.150.0730.04711.32
5.2.140.0830.03711.35
5.2.130.0730.04711.29
5.2.120.0970.04711.40
5.2.110.0700.04711.18
5.2.100.0800.04011.28
5.2.90.0930.03711.28
5.2.80.0870.04311.20
5.2.70.0870.04311.33
5.2.60.0930.04011.15
5.2.50.0870.04011.30
5.2.40.0670.05311.16
5.2.30.0670.04011.04
5.2.20.0630.04011.13
5.2.10.0830.02310.96
5.2.00.0500.05710.91
5.1.60.0570.03310.25
5.1.50.0630.03310.07
5.1.40.0670.03010.07
5.1.30.0630.03310.64
5.1.20.0700.03310.43
5.1.10.0700.02710.32
5.1.00.0670.03310.25
5.0.50.0270.0308.62
5.0.40.0300.0338.56
5.0.30.0270.0438.32
5.0.20.0300.0278.26
5.0.10.0370.0338.50
5.0.00.0370.0378.39
4.4.90.0230.0275.95
4.4.80.0300.0205.87
4.4.70.0370.0275.91
4.4.60.0330.0235.85
4.4.50.0270.0235.88
4.4.40.0300.0375.89
4.4.30.0230.0235.90
4.4.20.0400.0175.96
4.4.10.0300.0206.00
4.4.00.0270.0375.95
4.3.110.0270.0275.84
4.3.100.0300.0235.82
4.3.90.0330.0205.80
4.3.80.0300.0375.83
4.3.70.0370.0175.80
4.3.60.0300.0235.79
4.3.50.0330.0235.78
4.3.40.0330.0305.73
4.3.30.0130.0274.59
4.3.20.0130.0234.64
4.3.10.0130.0234.47
4.3.00.0170.0279.39

preferences:
55.79 ms | 400 KiB | 5 Q