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)

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.04112.47
5.4.310.0050.04012.47
5.4.300.0090.03512.47
5.4.290.0060.03812.46
5.4.280.0090.04212.37
5.4.270.0060.04212.37
5.4.260.0070.04012.36
5.4.250.0090.04412.37
5.4.240.0090.04012.36
5.4.230.0110.03612.36
5.4.220.0130.04412.36
5.4.210.0080.04212.36
5.4.200.0070.04312.36
5.4.190.0060.03712.35
5.4.180.0060.03612.35
5.4.170.0070.03512.36
5.4.160.0070.04212.36
5.4.150.0070.03512.36
5.4.140.0050.04612.05
5.4.130.0080.03412.03
5.4.120.0080.04611.99
5.4.110.0080.04311.99
5.4.100.0070.04611.98
5.4.90.0060.04911.99
5.4.80.0070.03911.98
5.4.70.0080.04511.98
5.4.60.0050.03611.98
5.4.50.0070.04211.98
5.4.40.0060.03411.96
5.4.30.0080.03811.96
5.4.20.0060.03411.96
5.4.10.0060.03411.97
5.4.00.0030.03811.45
5.3.290.0090.03612.80
5.3.280.0100.03412.71
5.3.270.0080.03712.72
5.3.260.0060.03912.72
5.3.250.0050.03812.72
5.3.240.0030.04012.72
5.3.230.0080.03612.70
5.3.220.0060.03712.68
5.3.210.0060.04312.68
5.3.200.0070.05012.68
5.3.190.0070.04412.68
5.3.180.0100.04612.68
5.3.170.0060.03712.67
5.3.160.0090.03312.68
5.3.150.0090.04112.67
5.3.140.0100.03812.66
5.3.130.0060.04312.66
5.3.120.0110.03512.65
5.3.110.0080.04712.66
5.3.100.0060.04512.12
5.3.90.0060.04012.08
5.3.80.0110.03512.07
5.3.70.0050.04512.07
5.3.60.0080.04212.07
5.3.50.0080.04512.00
5.3.40.0060.03912.00
5.3.30.0100.03211.95
5.3.20.0070.04011.73
5.3.10.0110.04211.70
5.3.00.0120.03711.68
5.2.170.0110.0299.19
5.2.160.0050.0309.19
5.2.150.0040.0319.19
5.2.140.0080.0289.18
5.2.130.0060.0279.14
5.2.120.0110.0329.14
5.2.110.0050.0399.15
5.2.100.0060.0319.15
5.2.90.0060.0339.14
5.2.80.0040.0359.14
5.2.70.0070.0289.14
5.2.60.0040.0339.10
5.2.50.0030.0329.07
5.2.40.0040.0299.05
5.2.30.0030.0319.02
5.2.20.0030.0309.00
5.2.10.0020.0308.93
5.2.00.0070.0408.79
5.1.60.0060.0238.08
5.1.50.0040.0318.07
5.1.40.0070.0308.05
5.1.30.0090.0378.40
5.1.20.0090.0328.43
5.1.10.0030.0288.16
5.1.00.0060.0348.16
5.0.50.0050.0276.62
5.0.40.0030.0286.49
5.0.30.0060.0326.30
5.0.20.0030.0206.26
5.0.10.0050.0246.25
5.0.00.0050.0346.24
4.4.90.0010.0174.78
4.4.80.0040.0204.76
4.4.70.0030.0154.76
4.4.60.0040.0184.76
4.4.50.0040.0204.77
4.4.40.0060.0254.71
4.4.30.0040.0134.76
4.4.20.0020.0234.85
4.4.10.0040.0254.85
4.4.00.0040.0304.76
4.3.110.0040.0144.66
4.3.100.0030.0224.66
4.3.90.0030.0194.63
4.3.80.0030.0354.59
4.3.70.0040.0174.63
4.3.60.0040.0134.63
4.3.50.0040.0154.63
4.3.40.0030.0234.54
4.3.30.0010.0173.29
4.3.20.0020.0163.26
4.3.10.0010.0163.23
4.3.00.0100.0237.90

preferences:
148.73 ms | 1394 KiB | 7 Q