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" }',true); print_r($tes->{'result'}['geometry']['location']['lat']);

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.70.0120.00616.58
8.3.60.0040.01116.75
8.3.50.0130.00522.85
8.3.40.0180.00018.63
8.3.30.0140.00018.86
8.3.20.0040.00420.34
8.3.10.0080.00020.43
8.3.00.0030.00619.26
8.2.180.0060.01218.67
8.2.170.0070.00722.96
8.2.160.0080.00820.34
8.2.150.0070.00724.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00420.97
8.2.110.0080.00320.54
8.2.100.0030.00717.72
8.2.90.0040.01119.00
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0030.00618.16
8.2.30.0040.00419.30
8.2.20.0040.00417.74
8.2.10.0020.00518.10
8.2.00.0030.00517.66
8.1.280.0120.00325.92
8.1.270.0000.00823.84
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0070.00322.08
8.1.230.0000.01222.25
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0040.00717.10
8.1.190.0050.00517.22
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00821.82
8.1.150.0100.00018.75
8.1.140.0000.00817.43
8.1.130.0030.00317.73
8.1.120.0040.00417.45
8.1.110.0040.00417.33
8.1.100.0040.00417.32
8.1.90.0060.00317.44
8.1.80.0040.00417.27
8.1.70.0000.00717.35
8.1.60.0080.00017.56
8.1.50.0030.00617.51
8.1.40.0080.00017.45
8.1.30.0040.00417.48
8.1.20.0000.00717.51
8.1.10.0030.00517.42
8.1.00.0080.00017.53
8.0.300.0000.00718.77
8.0.290.0050.00316.88
8.0.280.0040.00418.37
8.0.270.0030.00317.19
8.0.260.0030.00317.18
8.0.250.0030.00316.92
8.0.240.0000.00916.99
8.0.230.0070.00016.95
8.0.220.0000.00716.75
8.0.210.0030.00316.73
8.0.200.0030.00316.91
8.0.190.0040.00416.82
8.0.180.0000.00916.80
8.0.170.0000.00716.79
8.0.160.0050.00216.84
8.0.150.0000.00916.84
8.0.140.0040.00416.85
8.0.130.0000.00713.32
8.0.120.0050.00516.90
8.0.110.0040.00416.80
8.0.100.0000.00816.77
8.0.90.0000.00717.00
8.0.80.0120.00916.95
8.0.70.0000.00716.92
8.0.60.0040.00416.69
8.0.50.0030.00516.75
8.0.30.0110.00816.82
8.0.20.0050.01417.40
8.0.10.0040.00417.07
8.0.00.0120.00716.64
7.4.330.0050.00015.04
7.4.320.0030.00316.56
7.4.300.0060.00016.35
7.4.290.0040.00416.50
7.4.280.0030.00716.58
7.4.270.0030.00316.45
7.4.260.0000.00716.36
7.4.250.0070.00016.51
7.4.240.0080.00016.47
7.4.230.0030.00316.60
7.4.220.0120.00616.37
7.4.210.0110.00316.55
7.4.200.0040.00416.56
7.4.160.0120.00916.34
7.4.150.0070.01017.40
7.4.140.0160.00517.86
7.4.130.0090.01016.46
7.4.120.0100.00716.52
7.4.110.0120.00916.27
7.4.100.0110.00716.68
7.4.90.0060.01216.24
7.4.80.0090.01219.39
7.4.70.0050.01016.50
7.4.60.0030.01316.34
7.4.50.0000.00816.23
7.4.40.0090.00916.49
7.4.30.0090.00616.59
7.4.00.0000.01414.78
7.3.330.0060.00013.16
7.3.320.0000.00613.15
7.3.310.0060.00316.34
7.3.300.0000.00616.30
7.3.290.0110.00316.29
7.3.280.0070.00816.25
7.3.270.0090.01217.40
7.3.260.0070.01116.21
7.3.250.0060.00916.32
7.3.240.0060.00916.49
7.3.230.0130.00316.50
7.3.210.0100.00716.30
7.3.200.0160.02819.39
7.3.190.0130.00916.28
7.3.180.0120.00616.16
7.3.170.0070.01016.45
7.3.160.0110.00516.24
7.2.330.0080.01116.44
7.2.320.0100.00616.35
7.2.310.0090.01216.49
7.2.300.0090.01316.57
7.2.290.0090.00916.32
7.2.00.0000.01419.43
7.1.100.0040.00418.30
7.1.70.0000.00717.11
7.1.60.0130.01319.46
7.1.50.0000.01116.96
7.1.00.0000.07722.50
7.0.200.0100.00716.45
7.0.140.0130.06321.92
7.0.60.0000.04319.83
7.0.50.0100.03717.82
7.0.40.0100.05019.90
7.0.30.0300.08320.04
7.0.20.0230.04720.33
7.0.10.0030.05020.09
7.0.00.0030.04020.18
5.6.280.0070.07020.93
5.6.210.0100.07320.54
5.6.200.0100.04318.12
5.6.190.0070.05020.36
5.6.180.0300.07720.43
5.6.170.0070.05020.42
5.6.160.0030.04720.52
5.6.150.0130.07018.20
5.6.140.0000.09018.08
5.6.130.0030.06318.20
5.6.120.0070.04720.98
5.6.110.0270.07721.12
5.6.100.0170.07721.13
5.6.90.0130.07321.00
5.6.80.0100.03320.40
5.6.70.4530.02720.38
5.5.350.0230.05320.42
5.5.340.0030.05317.88
5.5.330.0170.06320.41
5.5.320.0400.07020.18
5.5.310.0400.06720.28
5.5.300.0100.03317.94
5.5.290.0070.08017.91
5.5.280.0170.07720.68
5.5.270.0030.07720.86
5.5.260.0070.07320.62
5.5.250.0170.07020.69
5.5.240.0300.06020.19
5.4.450.0100.05019.21
5.4.440.0130.05019.48
5.4.430.0130.03319.09
5.4.420.0130.04319.42
5.4.410.0170.03019.08
5.4.400.0130.04018.78
5.4.390.0100.04719.15
5.4.380.0470.07018.73
5.4.370.0430.04718.50
5.4.360.0370.05318.73
5.4.350.0570.06018.64
5.4.340.0170.05718.74
5.4.320.0090.03412.47
5.4.310.0080.03712.46
5.4.300.0110.03212.47
5.4.290.0100.04112.46
5.4.280.0080.04112.36
5.4.270.0090.03912.37
5.4.260.0070.03912.36
5.4.250.0110.03212.36
5.4.240.0110.03512.37
5.4.230.0060.04212.36
5.4.220.0050.03712.36
5.4.210.0030.03812.36
5.4.200.0030.04012.36
5.4.190.0060.03612.36
5.4.180.0100.04012.36
5.4.170.0110.03712.36
5.4.160.0060.03912.36
5.4.150.0070.04112.36
5.4.140.0070.03612.04
5.4.130.0100.03312.03
5.4.120.0070.03511.98
5.4.110.0040.04311.98
5.4.100.0110.03411.98
5.4.90.0090.04211.98
5.4.80.0090.04111.98
5.4.70.0090.04011.98
5.4.60.0050.03711.98
5.4.50.0070.04711.98
5.4.40.0080.03511.96
5.4.30.0050.03611.96
5.4.20.0060.03511.97
5.4.10.0080.03211.96
5.4.00.0050.03611.46
5.3.290.0120.03812.80
5.3.280.0100.04012.71
5.3.270.0070.03812.73
5.3.260.0060.04012.72
5.3.250.0070.04412.72
5.3.240.0110.03612.72
5.3.230.0080.04512.71
5.3.220.0090.05112.68
5.3.210.0070.04512.68
5.3.200.0070.04112.68
5.3.190.0070.03712.68
5.3.180.0070.03612.68
5.3.170.0050.03912.66
5.3.160.0040.04012.67
5.3.150.0080.03612.67
5.3.140.0070.03612.66
5.3.130.0040.04112.66
5.3.120.0100.04812.66
5.3.110.0070.04912.66
5.3.100.0070.03912.12
5.3.90.0040.03812.08
5.3.80.0080.03512.07
5.3.70.0090.03312.07
5.3.60.0050.04512.07
5.3.50.0070.04012.01
5.3.40.0060.04012.01
5.3.30.0130.03611.96
5.3.20.0050.03711.74
5.3.10.0050.03711.71
5.3.00.0080.03511.70
5.2.170.0030.0359.20
5.2.160.0050.0429.20
5.2.150.0080.0299.20
5.2.140.0070.0299.20
5.2.130.0060.0319.15
5.2.120.0040.0339.16
5.2.110.0030.0309.16
5.2.100.0050.0289.15
5.2.90.0060.0329.16
5.2.80.0010.0349.15
5.2.70.0030.0319.14
5.2.60.0030.0339.11
5.2.50.0040.0319.07
5.2.40.0110.0339.05
5.2.30.0070.0339.02
5.2.20.0060.0289.04
5.2.10.0050.0288.95
5.2.00.0020.0318.82
5.1.60.0040.0248.07
5.1.50.0030.0318.07
5.1.40.0060.0278.05
5.1.30.0050.0328.40
5.1.20.0090.0248.42
5.1.10.0040.0378.15
5.1.00.0050.0258.15
5.0.50.0060.0246.62
5.0.40.0050.0236.48
5.0.30.0020.0326.30
5.0.20.0040.0196.26
5.0.10.0030.0206.24
5.0.00.0030.0316.24
4.4.90.0040.0164.78
4.4.80.0020.0164.75
4.4.70.0030.0154.76
4.4.60.0040.0254.76
4.4.50.0030.0214.77
4.4.40.0040.0244.71
4.4.30.0040.0214.76
4.4.20.0030.0194.85
4.4.10.0030.0174.85
4.4.00.0040.0344.76
4.3.110.0040.0224.67
4.3.100.0040.0184.66
4.3.90.0020.0194.64
4.3.80.0040.0274.59
4.3.70.0020.0164.63
4.3.60.0030.0144.63
4.3.50.0030.0164.63
4.3.40.0060.0314.54
4.3.30.0010.0263.29
4.3.20.0020.0213.26
4.3.10.0030.0183.21
4.3.00.0000.01316.95

preferences:
59.39 ms | 401 KiB | 5 Q