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.0040.01516.58
8.3.60.0140.00316.36
8.3.50.0100.00922.77
8.3.40.0070.01018.70
8.3.30.0070.00719.09
8.3.20.0040.00420.33
8.3.10.0080.00020.23
8.3.00.0000.01019.13
8.2.180.0120.00316.50
8.2.170.0070.00722.96
8.2.160.0110.00420.40
8.2.150.0070.00724.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00021.10
8.2.110.0030.00721.00
8.2.100.0030.00617.84
8.2.90.0050.00319.27
8.2.80.0090.00017.97
8.2.70.0090.00017.63
8.2.60.0040.00417.93
8.2.50.0090.00518.07
8.2.40.0050.00318.22
8.2.30.0030.00519.48
8.2.20.0040.00417.64
8.2.10.0040.00418.04
8.2.00.0040.00417.63
8.1.280.0070.01425.92
8.1.270.0000.00823.79
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0000.00922.35
8.1.230.0040.00821.03
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0040.00417.10
8.1.180.0030.00618.10
8.1.170.0060.00318.38
8.1.160.0000.00722.00
8.1.150.0100.00018.81
8.1.140.0040.00417.25
8.1.130.0070.00017.80
8.1.120.0000.00717.44
8.1.110.0040.00417.24
8.1.100.0040.00417.39
8.1.90.0090.00017.29
8.1.80.0070.00017.27
8.1.70.0040.00717.33
8.1.60.0000.00817.50
8.1.50.0050.00317.46
8.1.40.0040.00417.39
8.1.30.0040.00417.53
8.1.20.0000.00717.61
8.1.10.0000.00717.52
8.1.00.0030.00517.32
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0060.00318.34
8.0.270.0030.00317.10
8.0.260.0000.00617.25
8.0.250.0070.00016.89
8.0.240.0040.00416.78
8.0.230.0000.00716.76
8.0.220.0000.00716.71
8.0.210.0000.00716.75
8.0.200.0030.00316.91
8.0.190.0040.00416.90
8.0.180.0040.00416.83
8.0.170.0000.00716.88
8.0.160.0000.00716.77
8.0.150.0030.00316.82
8.0.140.0070.00016.77
8.0.130.0040.00413.25
8.0.120.0000.00916.75
8.0.110.0000.00716.71
8.0.100.0000.00716.60
8.0.90.0040.00416.70
8.0.80.0090.00916.81
8.0.70.0040.00416.86
8.0.60.0040.00416.80
8.0.50.0000.00716.69
8.0.30.0090.00916.90
8.0.20.0210.00217.40
8.0.10.0040.00416.93
8.0.00.0070.01216.65
7.4.330.0000.00515.03
7.4.320.0000.00716.58
7.4.300.0000.00616.45
7.4.290.0040.00416.34
7.4.280.0030.00616.35
7.4.270.0030.00316.42
7.4.260.0040.00416.49
7.4.250.0040.00416.41
7.4.240.0040.00416.44
7.4.230.0000.00716.43
7.4.220.0100.00716.45
7.4.210.0080.00516.36
7.4.200.0000.00716.25
7.4.160.0090.00616.46
7.4.150.0060.01917.40
7.4.140.0050.01217.86
7.4.130.0060.01216.52
7.4.120.0110.00516.37
7.4.110.0070.01016.40
7.4.100.0060.01816.26
7.4.90.0100.01016.42
7.4.80.0090.00919.39
7.4.70.0060.01016.38
7.4.60.0080.00816.51
7.4.50.0040.00416.29
7.4.40.0030.01316.23
7.4.30.0160.00016.47
7.4.00.0110.00415.08
7.3.330.0020.00212.95
7.3.320.0000.00513.04
7.3.310.0000.00716.13
7.3.300.0030.00316.03
7.3.290.0040.01116.23
7.3.280.0110.00616.25
7.3.270.0090.00917.40
7.3.260.0090.00916.50
7.3.250.0100.00716.32
7.3.240.0120.00616.38
7.3.230.0100.00716.43
7.3.210.0070.01016.15
7.3.200.0130.00319.39
7.3.190.0100.01016.07
7.3.180.0140.00316.09
7.3.170.0030.01316.50
7.3.160.0120.00316.23
7.2.330.0030.01516.66
7.2.320.0070.01016.47
7.2.310.0070.01016.70
7.2.300.0060.01216.50
7.2.290.0090.00616.46
7.2.60.0070.00716.41
7.2.00.0090.00619.12
7.1.200.0030.00515.41
7.1.100.0030.00917.81
7.1.70.0120.00616.83
7.1.60.0100.01319.46
7.1.50.0100.01316.54
7.1.00.0030.07722.27
7.0.200.0070.00016.54
7.0.140.0070.06722.07
7.0.60.0130.07719.96
7.0.50.0130.07717.80
7.0.40.0000.04720.07
7.0.30.0270.08020.20
7.0.20.0270.07320.02
7.0.10.0070.09020.09
7.0.00.0030.04320.00
5.6.280.0030.07321.04
5.6.210.0000.05020.60
5.6.200.0070.04318.19
5.6.190.0130.08020.27
5.6.180.0200.08720.48
5.6.170.0370.06720.53
5.6.160.0070.08720.37
5.6.150.0070.08318.12
5.6.140.0070.07018.14
5.6.130.0030.09018.16
5.6.120.0000.05720.99
5.6.110.0100.08020.98
5.6.100.0100.08021.00
5.6.90.0030.04320.99
5.6.80.0200.07020.38
5.5.350.0000.08720.37
5.5.340.0130.06318.02
5.5.330.0030.08020.13
5.5.320.2830.04720.27
5.5.310.0370.06320.26
5.5.300.0100.07717.98
5.5.290.0100.07717.87
5.5.280.0130.03320.65
5.5.270.0000.05020.73
5.5.260.0100.08720.97
5.5.250.0070.08720.69
5.5.240.0000.08320.37
5.4.450.1370.04019.39
5.4.440.1330.04019.45
5.4.430.1400.03719.56
5.4.420.1230.04319.48
5.4.410.1300.04719.43
5.4.400.1470.03319.09
5.4.390.1630.05019.09
5.4.380.1470.03719.21
5.4.370.1770.04018.80
5.4.360.1300.04019.24
5.4.350.1470.03319.16
5.4.340.0030.03719.16
5.4.320.0030.04718.93
5.4.310.0670.03718.93
5.4.300.1330.05018.88
5.4.290.1170.03718.92
5.4.280.1130.03718.90
5.4.270.1300.03319.25
5.4.260.1070.04019.10
5.4.250.1730.03319.12
5.4.240.1170.04319.17
5.4.230.1270.04019.17
5.4.220.1570.04719.13
5.4.210.1170.04018.89
5.4.200.1030.03719.25
5.4.190.1200.04018.90
5.4.180.1400.03319.12
5.4.170.1500.03719.07
5.4.160.1470.03018.77
5.4.150.1500.03019.11
5.4.140.1630.04016.45
5.4.130.1600.04716.46
5.4.120.1630.04016.16
5.4.110.1700.03716.38
5.4.100.1570.03316.52
5.4.90.1670.04016.39
5.4.80.1670.03716.37
5.4.70.1500.04316.41
5.4.60.1700.03316.39
5.4.50.1800.04716.38
5.4.40.1600.04016.41
5.4.30.1800.04716.19
5.4.20.1870.04316.47
5.4.10.1570.03716.41
5.4.00.1630.03315.61
5.3.290.1730.04714.56
5.3.280.1570.03714.44
5.3.270.1600.04014.47
5.3.260.1530.04014.56
5.3.250.1570.04014.56
5.3.240.1670.03714.57
5.3.230.1600.03314.47
5.3.220.0300.04014.54
5.3.210.0000.04014.55
5.3.200.0030.03714.43
5.3.190.0430.03714.42
5.3.180.1630.03014.63
5.3.170.1630.04314.59
5.3.160.1600.03714.69
5.3.150.1670.03714.42
5.3.140.1530.03714.52
5.3.130.1670.04014.51
5.3.120.1730.03314.51
5.3.110.1670.03314.41
5.3.100.1530.03713.96
5.3.90.1770.04013.87
5.3.80.1730.03313.91
5.3.70.0870.04313.88
5.3.60.0030.07713.88
5.3.50.0000.04313.84
5.3.40.0430.06313.76
5.3.30.1630.03713.72
5.3.20.1530.03013.65
5.3.10.1670.04013.50
5.3.00.1800.04013.60
5.2.170.1270.02711.19
5.2.160.1530.03011.32
5.2.150.1500.03311.00
5.2.140.1430.02711.18
5.2.130.1170.03711.01
5.2.120.1300.02310.96
5.2.110.1470.03311.16
5.2.100.1530.03011.28
5.2.90.1500.03011.17
5.2.80.1300.02711.16
5.2.70.1300.02711.02
5.2.60.1270.03010.91
5.2.50.1530.03311.08
5.2.40.1230.02710.85
5.2.30.1200.04311.00
5.2.20.1200.03310.91
5.2.10.1230.03310.94
5.2.00.1200.03010.64
5.1.60.1130.03310.16
5.1.50.1300.02310.16
5.1.40.1300.0279.91
5.1.30.1130.03310.41
5.1.20.1170.02710.51
5.1.10.1030.03010.16
5.1.00.1000.0339.95
5.0.50.0030.0208.41
5.0.40.0000.0238.42
5.0.30.0000.0438.34
5.0.20.0000.0308.20
5.0.10.0030.0238.18
5.0.00.0030.0308.10
4.4.90.0000.0307.61
4.4.80.0000.0237.61
4.4.70.0070.0237.61
4.4.60.0400.0207.61
4.4.50.0570.0107.61
4.4.40.0500.0237.61
4.4.30.0700.0277.61
4.4.20.0700.0237.61
4.4.10.0630.0277.61
4.4.00.0570.0207.61
4.3.110.0600.0237.61
4.3.100.0500.0207.61
4.3.90.0600.0137.61
4.3.80.0570.0307.61
4.3.70.0730.0237.61
4.3.60.0600.0177.61
4.3.50.0500.0177.61
4.3.40.0600.0377.61
4.3.30.0270.0177.61
4.3.20.0270.0207.61
4.3.10.0330.0237.61
4.3.00.0170.0337.61

preferences:
52.75 ms | 401 KiB | 5 Q