3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tes = json_decode('{ "html_attributions" : [], "result" : { "address_components" : [ { "long_name" : "Rajkot", "short_name" : "Rajkot", "types" : [ "locality", "political" ] }, { "long_name" : "Rajkot", "short_name" : "Rajkot", "types" : [ "administrative_area_level_2", "political" ] }, { "long_name" : "Gujarat", "short_name" : "GJ", "types" : [ "administrative_area_level_1", "political" ] }, { "long_name" : "India", "short_name" : "IN", "types" : [ "country", "political" ] } ], "adr_address" : "\u003cspan class=\"locality\"\u003eRajkot\u003c/span\u003e, \u003cspan class=\"region\"\u003eGujarat\u003c/span\u003e, \u003cspan class=\"country-name\"\u003eIndia\u003c/span\u003e", "formatted_address" : "Rajkot, Gujarat, India", "geometry" : { "location" : { "lat" : 22.3038945, "lng" : 70.80215989999999 }, "viewport" : { "northeast" : { "lat" : 22.3534892, "lng" : 70.9481892 }, "southwest" : { "lat" : 22.1934847, "lng" : 70.69440349999999 } } }, "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png", "id" : "4389d3909105ace8fc2fe6333640934716f0e09d", "name" : "Rajkot", "place_id" : "ChIJD98cx4rJWTkRO62Tvs8V3XY", "reference" : "CoQBeQAAAPFGV0FLjoXvUI0hIApA3RGyKPHm1ZAmPMHcV3BRaZAXJS2Y5setRw7saWRjCWkEhArsQrxBPjEWKPffNAF2ttrozvZf2Im4Z_WyRLsH9gn9AJYsvmfOEDnTkrEGKqwDjuot27AWvTUWBxQ2eez5rTCEtUThjlCgI2QEpEOPTgbGEhCOZjXeC-lzCLS1j0sxrSpZGhSaDNjoKxMLkY05UTYZTiyLQ-LhBg", "scope" : "GOOGLE", "types" : [ "locality", "political" ], "url" : "https://maps.google.com/maps/place?q=Rajkot,+Gujarat,+India&ftid=0x3959c98ac71cdf0f:0x76dd15cfbe93ad3b", "vicinity" : "Rajkot" }, "status" : "OK" }'); print_r($tes['result']['geometry']['location'])

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)
5.4.320.0070.04312.47
5.4.310.0080.04112.47
5.4.300.0070.04212.47
5.4.290.0050.04212.47
5.4.280.0070.03612.36
5.4.270.0090.03912.37
5.4.260.0070.04912.37
5.4.250.0090.04412.37
5.4.240.0060.03912.37
5.4.230.0090.04612.36
5.4.220.0060.04112.36
5.4.210.0090.04312.36
5.4.200.0070.04212.36
5.4.190.0040.03712.35
5.4.180.0080.03812.35
5.4.170.0050.03612.37
5.4.160.0070.03412.36
5.4.150.0060.03812.36
5.4.140.0090.04412.05
5.4.130.0090.04112.03
5.4.120.0080.03611.99
5.4.110.0070.03911.99
5.4.100.0090.04211.99
5.4.90.0090.03511.99
5.4.80.0050.04111.99
5.4.70.0050.04111.98
5.4.60.0050.03811.98
5.4.50.0100.03211.98
5.4.40.0070.04011.97
5.4.30.0070.03411.97
5.4.20.0040.03611.96
5.4.10.0050.03611.97
5.4.00.0050.03611.46
5.3.290.0080.04112.80
5.3.280.0050.03812.71
5.3.270.0070.03812.72
5.3.260.0070.04312.72
5.3.250.0080.03612.72
5.3.240.0090.03912.72
5.3.230.0080.03912.71
5.3.220.0050.03912.68
5.3.210.0070.03812.68
5.3.200.0090.04112.68
5.3.190.0070.03812.68
5.3.180.0080.03912.67
5.3.170.0050.03812.67
5.3.160.0070.03612.67
5.3.150.0090.04312.67
5.3.140.0050.03712.66
5.3.130.0060.04612.66
5.3.120.0070.03812.66
5.3.110.0070.03912.66
5.3.100.0060.03912.12
5.3.90.0070.03612.08
5.3.80.0080.03712.08
5.3.70.0090.04112.08
5.3.60.0100.03812.06
5.3.50.0090.03312.00
5.3.40.0050.03812.00
5.3.30.0080.03511.96
5.3.20.0070.03611.73
5.3.10.0080.03911.70
5.3.00.0060.03611.68
5.2.170.0050.0329.19
5.2.160.0070.0339.19
5.2.150.0040.0389.19
5.2.140.0070.0359.19
5.2.130.0040.0369.15
5.2.120.0050.0309.15
5.2.110.0080.0319.16
5.2.100.0060.0329.15
5.2.90.0050.0359.14
5.2.80.0060.0349.14
5.2.70.0070.0359.14
5.2.60.0080.0349.10
5.2.50.0050.0299.07
5.2.40.0050.0329.05
5.2.30.0070.0399.02
5.2.20.0050.0429.00
5.2.10.0050.0298.93
5.2.00.0080.0268.79
5.1.60.0070.0248.08
5.1.50.0050.0248.08
5.1.40.0050.0248.05
5.1.30.0080.0258.40
5.1.20.0070.0308.43
5.1.10.0060.0328.15
5.1.00.0050.0308.15
5.0.50.0040.0266.63
5.0.40.0040.0216.49
5.0.30.0040.0306.30
5.0.20.0030.0216.26
5.0.10.0050.0186.25
5.0.00.0040.0306.24
4.4.90.0030.0154.78
4.4.80.0030.0174.76
4.4.70.0020.0194.76
4.4.60.0040.0154.75
4.4.50.0020.0194.77
4.4.40.0030.0254.71
4.4.30.0040.0174.76
4.4.20.0040.0234.84
4.4.10.0030.0154.85
4.4.00.0030.0284.76
4.3.110.0020.0204.67
4.3.100.0030.0234.66
4.3.90.0020.0154.63
4.3.80.0030.0254.58
4.3.70.0040.0204.63
4.3.60.0030.0154.63
4.3.50.0020.0194.63
4.3.40.0030.0264.53
4.3.30.0030.0253.29
4.3.20.0040.0253.26
4.3.10.0020.0193.23
4.3.00.0030.0276.32

preferences:
134.04 ms | 1398 KiB | 7 Q