3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ob = json_decode('1509441210s:2771:"{"query":{"count":1,"created":"2017-10-31T09:08:30Z","lang":"en-US","results":{"channel":{"units":{"distance":"km","pressure":"mb","speed":"km/h","temperature":"C"},"title":"Yahoo! Weather - Vilnius County, LT","link":"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-55848083/","description":"Yahoo! Weather for Vilnius County, LT","language":"en-us","lastBuildDate":"Tue, 31 Oct 2017 11:08 AM EET","ttl":"60","location":{"city":"Vilnius County","country":"Lithuania","region":" LT"},"wind":{"chill":"23","direction":"320","speed":"46.67"},"atmosphere":{"humidity":"89","pressure":"33389.81","rising":"0","visibility":"25.91"},"astronomy":{"sunrise":"7:20 am","sunset":"4:42 pm"},"image":{"title":"Yahoo! Weather","width":"142","height":"18","link":"http://weather.yahoo.com","url":"http://l.yimg.com/a/i/brand/purplelogo//uh/us/news-wea.gif"},"item":{"title":"Conditions for Vilnius County, LT at 10:00 AM EET","lat":"54.822552","long":"25.573299","link":"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-55848083/","pubDate":"Tue, 31 Oct 2017 10:00 AM EET","condition":{"code":"23","date":"Tue, 31 Oct 2017 10:00 AM EET","temp":"1","text":"Breezy"},"forecast":[{"code":"5","date":"31 Oct 2017","day":"Tue","high":"3","low":"0","text":"Rain And Snow"},{"code":"26","date":"01 Nov 2017","day":"Wed","high":"6","low":"0","text":"Cloudy"},{"code":"12","date":"02 Nov 2017","day":"Thu","high":"8","low":"5","text":"Rain"},{"code":"39","date":"03 Nov 2017","day":"Fri","high":"7","low":"5","text":"Scattered Showers"},{"code":"26","date":"04 Nov 2017","day":"Sat","high":"6","low":"3","text":"Cloudy"},{"code":"26","date":"05 Nov 2017","day":"Sun","high":"6","low":"4","text":"Cloudy"},{"code":"28","date":"06 Nov 2017","day":"Mon","high":"7","low":"5","text":"Mostly Cloudy"},{"code":"28","date":"07 Nov 2017","day":"Tue","high":"5","low":"2","text":"Mostly Cloudy"},{"code":"28","date":"08 Nov 2017","day":"Wed","high":"5","low":"2","text":"Mostly Cloudy"},{"code":"28","date":"09 Nov 2017","day":"Thu","high":"3","low":"2","text":"Mostly Cloudy"}],"description":"<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/23.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Breezy\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Tue - Rain And Snow. High: 3Low: 0\n<BR /> Wed - Cloudy. High: 6Low: 0\n<BR /> Thu - Rain. High: 8Low: 5\n<BR /> Fri - Scattered Showers. High: 7Low: 5\n<BR /> Sat - Cloudy. High: 6Low: 3\n<BR />\n<BR />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-55848083/\">Full Forecast at Yahoo! Weather</a>\n<BR />\n<BR />\n<BR />\n]]>","guid":{"isPermaLink":"false"}}}}}}";'); print_r($ob);

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.0150.00416.63
8.3.50.0070.01016.06
8.3.40.0110.00718.71
8.3.30.0120.00318.46
8.3.20.0040.00420.21
8.3.10.0080.00023.53
8.3.00.0050.00221.89
8.2.180.0100.00318.54
8.2.170.0110.00422.96
8.2.160.0000.01320.52
8.2.150.0000.00725.66
8.2.140.0090.00024.66
8.2.130.0040.00420.34
8.2.120.0040.00426.35
8.2.110.0090.00019.33
8.2.100.0120.00017.72
8.2.90.0080.00019.09
8.2.80.0050.00317.97
8.2.70.0040.00417.38
8.2.60.0040.00418.03
8.2.50.0040.00418.22
8.2.40.0030.00520.45
8.2.30.0060.00320.98
8.2.20.0030.00618.06
8.2.10.0000.00717.90
8.2.00.0040.00418.02
8.1.280.0080.00625.92
8.1.270.0040.00423.96
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00422.74
8.1.230.0060.00617.62
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00817.22
8.1.190.0000.00817.52
8.1.180.0040.00418.10
8.1.170.0080.00018.52
8.1.160.0030.00518.86
8.1.150.0020.00518.74
8.1.140.0000.00719.43
8.1.130.0000.00818.82
8.1.120.0030.00417.40
8.1.110.0040.00417.40
8.1.100.0030.00517.36
8.1.90.0030.00517.27
8.1.80.0040.00417.38
8.1.70.0080.00017.32
8.1.60.0000.00817.45
8.1.50.0000.00817.46
8.1.40.0040.00417.40
8.1.30.0030.00717.48
8.1.20.0040.00417.64
8.1.10.0040.00417.34
8.1.00.0080.00017.36
8.0.300.0040.00418.91
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0040.00417.18
8.0.260.0000.00716.75
8.0.250.0000.00716.79
8.0.240.0040.00416.82
8.0.230.0000.00716.82
8.0.220.0000.00716.88
8.0.210.0000.00716.80
8.0.200.0060.00016.82
8.0.190.0040.00416.90
8.0.180.0030.00516.73
8.0.170.0050.00216.84
8.0.160.0000.00716.86
8.0.150.0000.00916.70
8.0.140.0060.00316.79
8.0.130.0050.00013.27
8.0.120.0080.00016.79
8.0.110.0070.00016.65
8.0.100.0000.00816.64
8.0.90.0080.00016.94
8.0.80.0120.00316.87
8.0.70.0040.00416.71
8.0.60.0000.00716.73
8.0.50.0070.00016.84
8.0.30.0130.00717.06
8.0.20.0130.00817.40
8.0.10.0070.00017.01
8.0.00.0140.00316.79
7.4.330.0030.00316.61
7.4.320.0060.00016.45
7.4.300.0030.00316.44
7.4.290.0030.00316.46
7.4.280.0000.00816.34
7.4.270.0000.00616.43
7.4.260.0000.00716.48
7.4.250.0000.00716.44
7.4.240.0050.00216.29
7.4.230.0000.00716.37
7.4.220.0130.01316.43
7.4.210.0080.00916.49
7.4.200.0000.00716.48
7.4.160.0120.00316.29
7.4.150.0140.00317.40
7.4.140.0080.01117.86
7.4.130.0070.01016.30
7.4.120.0080.01316.38
7.4.110.0100.01016.55
7.4.100.0100.01316.36
7.4.90.0070.01016.34
7.4.80.0030.01319.39
7.4.70.0120.01216.34
7.4.60.0090.00616.34
7.4.50.0060.01016.37
7.4.40.0110.00816.14
7.4.30.0160.00316.39
7.4.10.0100.01014.90
7.4.00.0050.01114.90
7.3.330.0050.00013.09
7.3.320.0000.00512.94
7.3.310.0000.00615.99
7.3.300.0040.00415.98
7.3.290.0040.00416.18
7.3.280.0080.00916.12
7.3.270.0160.00617.40
7.3.260.0120.00816.20
7.3.250.0130.00616.29
7.3.240.0050.01216.23
7.3.230.0080.00816.15
7.3.210.0110.01216.41
7.3.200.0030.01216.18
7.3.190.0090.00616.04
7.3.180.0070.01416.43
7.3.170.0100.00716.07
7.3.160.0100.00716.43
7.3.130.0070.01014.64
7.3.120.0080.00514.41
7.3.110.0100.01014.92
7.3.100.0030.00914.80
7.3.90.0110.00314.32
7.3.80.0070.00314.70
7.3.70.0040.00814.63
7.3.60.0100.00614.77
7.3.50.0070.00714.59
7.3.40.0030.00614.68
7.3.30.0070.01014.58
7.3.20.0030.01016.61
7.3.10.0150.00016.63
7.3.00.0040.00416.43
7.2.330.0180.00916.60
7.2.320.0100.00716.25
7.2.310.0070.01016.41
7.2.300.0110.00716.34
7.2.290.0130.00416.42
7.2.260.0070.01314.87
7.2.250.0040.01514.85
7.2.240.0070.00715.18
7.2.230.0060.00915.04
7.2.220.0040.00714.77
7.2.210.0040.00815.17
7.2.200.0080.00814.95
7.2.190.0040.01114.94
7.2.180.0120.00314.52
7.2.170.0000.01415.01
7.2.160.0140.00015.00
7.2.150.0000.01516.80
7.2.140.0040.01116.64
7.2.130.0070.00716.77
7.2.120.0070.00716.64
7.2.110.0120.00516.53
7.2.100.0030.00616.73
7.2.90.0060.00316.71
7.2.80.0040.00816.83
7.2.70.0030.00716.77
7.2.60.0070.01016.57
7.2.50.0060.00616.49
7.2.40.0100.00316.88
7.2.30.0060.01016.64
7.2.20.0040.01116.80
7.2.10.0040.01516.75
7.2.00.0040.01517.02
7.1.330.0070.00715.57
7.1.320.0000.01615.84
7.1.310.0070.00715.73
7.1.300.0000.01415.90
7.1.290.0030.00615.86
7.1.280.0090.00315.87
7.1.270.0040.00815.83
7.1.260.0100.00715.73
7.1.250.0070.00715.78
7.1.240.0000.01015.83
7.1.230.0080.00515.70
7.1.220.0060.00615.80
7.1.210.0060.00915.60
7.1.200.0000.01215.64
7.1.190.0030.01015.84
7.1.180.0100.00315.61
7.1.170.0030.00915.75
7.1.160.0070.01015.68
7.1.150.0090.00915.79
7.1.140.0030.01515.82
7.1.130.0070.00415.76
7.1.120.0060.01015.85
7.1.110.0040.01116.78
7.1.100.0080.00716.92
7.1.90.0040.00916.71
7.1.80.0070.00516.90
7.1.70.0040.01315.44
7.1.60.0190.01324.40
7.1.50.0130.00924.21
7.1.40.0240.00323.96
7.1.30.0190.00824.00
7.1.20.0170.01424.17
7.1.10.0080.01615.11
7.1.00.0070.00516.01
7.0.330.0090.00615.55
7.0.320.0040.00815.30
7.0.310.0040.01115.29
7.0.300.0060.00915.40
7.0.290.0070.01015.26
7.0.280.0040.01115.32
7.0.270.0100.00315.21
7.0.260.0100.00715.20
7.0.250.0040.01116.56
7.0.240.0060.00916.64
7.0.230.0090.00815.70
7.0.220.0000.01516.57
7.0.210.0080.00716.06
7.0.200.0100.00715.01
7.0.190.0010.01215.93
7.0.180.0060.00715.71
7.0.170.0030.01114.94
7.0.160.0100.01015.00
7.0.150.0110.00914.89
7.0.140.0160.00314.80
7.0.130.0000.01515.84
7.0.120.0030.01215.90
7.0.110.0060.00915.72
7.0.100.0070.00715.67
7.0.90.0030.01415.63
7.0.80.0040.00915.65
7.0.70.0060.00815.76
7.0.60.0040.01015.62
7.0.50.0050.01015.70
7.0.40.0060.00615.00
7.0.30.0110.00114.85
7.0.20.0070.01014.90
7.0.10.0140.00214.90
7.0.00.0100.00314.96
5.6.400.0060.00614.46
5.6.390.0040.01414.46
5.6.380.0040.00714.02
5.6.370.0030.01014.59
5.6.360.0030.01514.42
5.6.350.0090.00914.04
5.6.340.0070.00714.13
5.6.330.0000.01514.10
5.6.320.0060.00913.87
5.6.310.0080.00314.60
5.6.300.0040.01114.53
5.6.290.0030.00614.29
5.6.280.0060.00614.06
5.6.270.0100.00314.22
5.6.260.0000.00814.23
5.6.250.0090.00614.31
5.6.240.0070.00714.13
5.6.230.0120.00014.30
5.6.220.0090.00614.21
5.6.210.0000.01314.02
5.6.200.0030.01314.13
5.6.190.0060.00614.02
5.6.180.0000.01514.40
5.6.170.0000.00914.08
5.6.160.0000.00814.09
5.6.150.0000.01114.35
5.6.140.0070.00713.98
5.6.130.0090.00314.25
5.6.120.0060.00614.01
5.6.110.0000.01513.89
5.6.100.0070.01014.29
5.6.90.0100.01014.20
5.6.80.0070.01014.06
5.6.70.0030.01414.01
5.6.60.0030.01414.04
5.6.50.0030.00714.16
5.6.40.0000.01113.88
5.6.30.0140.00014.29
5.6.20.0070.00413.94
5.6.10.0100.00313.81
5.6.00.0000.01314.02

preferences:
57.12 ms | 400 KiB | 5 Q