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);

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.01416.63
8.3.50.0070.01223.00
8.3.40.0120.00318.84
8.3.30.0070.00719.06
8.3.20.0000.00820.34
8.3.10.0050.00220.58
8.3.00.0030.00619.38
8.2.180.0090.00616.75
8.2.170.0070.00722.96
8.2.160.0100.00320.43
8.2.150.0150.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0030.00520.74
8.2.110.0070.00421.03
8.2.100.0110.00017.91
8.2.90.0040.00417.97
8.2.80.0050.00317.97
8.2.70.0030.00517.63
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0110.00018.03
8.2.30.0080.00019.38
8.2.20.0080.00017.70
8.2.10.0000.00818.07
8.2.00.0030.00617.70
8.1.280.0130.00725.92
8.1.270.0040.00424.02
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00422.48
8.1.230.0100.00020.88
8.1.220.0080.00017.74
8.1.210.0000.00918.96
8.1.200.0040.00717.48
8.1.190.0000.00917.35
8.1.180.0050.00318.10
8.1.170.0000.00818.50
8.1.160.0000.00722.05
8.1.150.0050.00518.83
8.1.140.0040.00417.54
8.1.130.0030.00317.83
8.1.120.0040.00417.51
8.1.110.0070.00017.46
8.1.100.0000.00717.44
8.1.90.0060.00317.43
8.1.80.0040.00417.42
8.1.70.0030.00317.29
8.1.60.0000.00917.55
8.1.50.0060.00317.46
8.1.40.0040.00417.56
8.1.30.0040.00417.66
8.1.20.0000.00817.68
8.1.10.0040.00417.43
8.1.00.0040.00417.46
8.0.300.0040.00419.89
8.0.290.0060.00316.88
8.0.280.0070.00018.44
8.0.270.0000.00717.13
8.0.260.0000.00717.25
8.0.250.0050.00216.98
8.0.240.0060.00317.02
8.0.230.0030.00316.94
8.0.220.0000.00716.84
8.0.210.0000.00716.97
8.0.200.0000.00617.02
8.0.190.0040.00416.94
8.0.180.0000.00716.86
8.0.170.0030.00317.00
8.0.160.0000.00716.95
8.0.150.0000.00716.89
8.0.140.0040.00416.97
8.0.130.0040.00413.42
8.0.120.0090.00016.80
8.0.110.0040.00416.99
8.0.100.0040.00416.82
8.0.90.0040.00416.84
8.0.80.0090.00916.90
8.0.70.0040.00416.86
8.0.60.0040.00416.80
8.0.50.0050.00216.92
8.0.30.0080.01117.05
8.0.20.0080.01117.40
8.0.10.0000.00717.11
8.0.00.0140.00716.74
7.4.330.0050.00015.14
7.4.320.0030.00316.60
7.4.300.0030.00316.48
7.4.290.0070.00016.59
7.4.280.0040.00716.50
7.4.270.0030.00316.64
7.4.260.0030.00316.50
7.4.250.0000.00716.55
7.4.240.0040.00316.55
7.4.230.0000.00716.50
7.4.220.0120.00616.38
7.4.210.0070.00716.55
7.4.200.0050.00216.63
7.4.160.0130.00916.52
7.4.150.0060.01217.40
7.4.140.0120.00817.86
7.4.130.0070.01016.55
7.4.120.0120.00616.54
7.4.110.0120.00616.46
7.4.100.0070.01016.59
7.4.90.0150.00316.50
7.4.80.0060.01219.39
7.4.70.0100.00716.53
7.4.60.0110.00616.42
7.4.50.0030.00316.54
7.4.40.0100.01016.54
7.4.30.0100.00716.57
7.4.00.0050.01314.95
7.3.330.0030.00313.09
7.3.320.0000.00513.06
7.3.310.0070.00016.11
7.3.300.0030.00316.30
7.3.290.0040.01116.26
7.3.280.0090.00816.22
7.3.270.0080.00817.40
7.3.260.0070.01016.38
7.3.250.0150.00716.35
7.3.240.0100.00716.33
7.3.230.0090.01316.40
7.3.210.0140.00316.38
7.3.200.0030.01419.39
7.3.190.0130.00316.44
7.3.180.0060.00916.37
7.3.170.0150.00416.32
7.3.160.0070.01016.33
7.3.120.0080.01214.94
7.3.110.0070.01014.97
7.3.100.0030.01414.97
7.3.90.0070.00414.88
7.3.80.0030.01014.72
7.3.70.0130.00314.75
7.3.60.0100.01014.87
7.3.50.0060.00614.91
7.3.40.0070.01014.63
7.3.30.0090.00914.60
7.3.20.0090.00616.69
7.3.10.0050.00816.37
7.3.00.0100.00516.33
7.2.330.0100.01016.69
7.2.320.0140.00416.50
7.2.310.0130.00316.62
7.2.300.0070.01616.63
7.2.290.0130.00316.29
7.2.250.0040.01415.10
7.2.240.0030.01714.97
7.2.230.0030.01015.14
7.2.220.0000.01715.18
7.2.210.0030.01214.94
7.2.200.0120.00614.65
7.2.190.0030.01014.89
7.2.180.0130.00014.63
7.2.170.0040.01514.92
7.2.130.0070.00716.40
7.2.120.0140.00016.70
7.2.110.0030.01216.80
7.2.100.0120.00616.63
7.2.90.0030.01016.75
7.2.80.0070.00716.65
7.2.70.0070.01016.10
7.2.60.0080.00816.48
7.2.50.0100.00716.44
7.2.40.0190.00316.92
7.2.30.0040.01416.89
7.2.20.0070.00716.67
7.2.10.0130.00716.74
7.2.00.0050.00817.97
7.1.330.0000.01415.75
7.1.320.0030.01015.61
7.1.310.0040.01115.41
7.1.300.0120.00015.48
7.1.290.0040.00815.74
7.1.280.0060.01315.83
7.1.270.0040.01115.66
7.1.260.0030.01015.37
7.1.250.0030.01215.41
7.1.200.0080.00415.39
7.1.70.0030.00317.13
7.1.60.0080.00417.30
7.1.50.0040.01816.85
7.1.00.0070.07322.44
7.0.200.0070.01016.63
7.0.140.0000.07322.13
7.0.60.0030.04019.92
7.0.50.0030.08317.66
7.0.40.0070.04320.02
7.0.30.0330.07320.17
7.0.20.0200.03720.07
7.0.10.0030.04320.18
7.0.00.0070.03720.09
5.6.280.0070.07020.81
5.6.210.0100.07720.72
5.6.200.0000.04318.22
5.6.190.0000.04720.27
5.6.180.0200.04720.64
5.6.170.0170.04020.62
5.6.160.0070.08020.49
5.6.150.0000.06718.12
5.6.140.0030.08718.21
5.6.130.0100.03718.11
5.6.120.0100.08021.02
5.6.110.0100.08021.08
5.6.100.0000.04321.00
5.6.90.0070.08321.00
5.6.80.0070.06320.50
5.6.70.0070.08720.34
5.5.350.0170.07320.40
5.5.340.0000.07317.99
5.5.330.0070.05720.07
5.5.320.0500.06720.24
5.5.310.0330.05020.41
5.5.300.0100.03317.90
5.5.290.0030.05318.01
5.5.280.0170.07320.65
5.5.270.0030.06720.79
5.5.260.0170.07720.79
5.5.250.0070.08020.68
5.5.240.0330.05320.36
5.4.450.0130.04319.43
5.4.440.0100.05019.52
5.4.430.0130.04319.25
5.4.420.0000.05319.54
5.4.410.0100.04319.29
5.4.400.0100.03318.78
5.4.390.0070.03319.09
5.4.380.0400.05318.57
5.4.370.0430.06318.50
5.4.360.0330.05718.52
5.4.350.0400.06718.51
5.4.340.0330.05718.71
5.4.320.0040.03812.47
5.4.310.0050.03912.47
5.4.300.0050.04412.48
5.4.290.0100.03712.47
5.4.280.0060.03812.37
5.4.270.0070.03512.37
5.4.260.0060.03912.37
5.4.250.0070.03712.37
5.4.240.0070.04412.37
5.4.230.0040.03912.36
5.4.220.0060.04212.36
5.4.210.0070.04112.36
5.4.200.0060.04412.36
5.4.190.0100.03612.36
5.4.180.0090.04812.36
5.4.170.0070.03712.37
5.4.160.0050.03712.36
5.4.150.0070.03512.36
5.4.140.0070.04212.04
5.4.130.0070.03812.04
5.4.120.0090.03711.99
5.4.110.0040.03611.98
5.4.100.0070.04311.98
5.4.90.0080.04911.98
5.4.80.0080.04811.99
5.4.70.0060.03811.98
5.4.60.0050.03611.98
5.4.50.0040.03711.99
5.4.40.0050.03611.97
5.4.30.0060.03511.97
5.4.20.0060.03511.97
5.4.10.0090.03811.97
5.4.00.0050.03511.45
5.3.290.0060.04712.80
5.3.280.0070.03912.71
5.3.270.0050.04912.72
5.3.260.0070.04812.72
5.3.250.0050.03912.71
5.3.240.0090.03712.72
5.3.230.0080.04012.71
5.3.220.0090.03912.68
5.3.210.0060.03912.68
5.3.200.0060.03712.68
5.3.190.0050.04012.68
5.3.180.0070.03612.68
5.3.170.0080.03612.67
5.3.160.0100.04012.67
5.3.150.0080.04112.68
5.3.140.0090.04212.66
5.3.130.0050.03812.66
5.3.120.0080.04612.66
5.3.110.0090.04712.66
5.3.100.0060.04212.12
5.3.90.0070.03912.09
5.3.80.0060.04212.08
5.3.70.0090.03612.07
5.3.60.0070.04312.06
5.3.50.0070.04012.00
5.3.40.0060.03912.01
5.3.30.0060.04511.96
5.3.20.0070.03411.75
5.3.10.0050.04311.72
5.3.00.0070.04011.70
5.2.170.0050.0349.20
5.2.160.0070.0279.20
5.2.150.0040.0319.20
5.2.140.0080.0289.20
5.2.130.0070.0349.16
5.2.120.0060.0279.16
5.2.110.0080.0279.17
5.2.100.0040.0299.16
5.2.90.0050.0299.16
5.2.80.0060.0289.16
5.2.70.0090.0299.16
5.2.60.0070.0359.10
5.2.50.0060.0289.07
5.2.40.0110.0309.05
5.2.30.0040.0399.03
5.2.20.0090.0359.04
5.2.10.0100.0328.96
5.2.00.0070.0388.82
5.1.60.0050.0238.07
5.1.50.0060.0268.07
5.1.40.0040.0248.04
5.1.30.0050.0268.39
5.1.20.0060.0308.42
5.1.10.0040.0348.15
5.1.00.0030.0328.15
5.0.50.0050.0296.61
5.0.40.0060.0206.48
5.0.30.0060.0356.29
5.0.20.0060.0266.26
5.0.10.0040.0216.25
5.0.00.0070.0316.24
4.4.90.0050.0154.78
4.4.80.0020.0194.76
4.4.70.0040.0144.75
4.4.60.0040.0144.75
4.4.50.0050.0134.77
4.4.40.0040.0234.71
4.4.30.0040.0274.76
4.4.20.0040.0174.84
4.4.10.0030.0154.85
4.4.00.0040.0244.76
4.3.110.0040.0154.67
4.3.100.0020.0154.67
4.3.90.0010.0164.64
4.3.80.0030.0244.58
4.3.70.0040.0134.63
4.3.60.0030.0144.63
4.3.50.0020.0164.63
4.3.40.0030.0234.54
4.3.30.0020.0223.28
4.3.20.0030.0163.26
4.3.10.0020.0163.22
4.3.00.0000.02316.95

preferences:
30.46 ms | 401 KiB | 5 Q