3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "Response": { "MetaInfo": { "Timestamp": "2018-10-17T03:35:57.353+0000" }, "View": [ { "_type": "SearchResultsViewType", "ViewId": 0, "Result": [ { "Relevance": 1, "MatchLevel": "houseNumber", "MatchQuality": { "Country": 1, "State": 1, "City": 1, "Street": [ 1 ], "HouseNumber": 1 }, "MatchType": "pointAddress", "Location": { "LocationId": "NT_ySMW7zgrnTcVMzktS0t7FC_xkzM", "LocationType": "point", "DisplayPosition": { "Latitude": -23.46615, "Longitude": -46.42356 }, "NavigationPosition": [ { "Latitude": -23.4662, "Longitude": -46.42354 } ], "MapView": { "TopLeft": { "Latitude": -23.4650258, "Longitude": -46.4247855 }, "BottomRight": { "Latitude": -23.4672742, "Longitude": -46.4223345 } }, "Address": { "Label": "Rua Canapi, 193, Pimentas, Guarulhos - SP, 07272-060, Brasil", "Country": "BRA", "State": "SP", "City": "Guarulhos", "District": "Pimentas", "Street": "Rua Canapi", "HouseNumber": "193", "PostalCode": "07272-060", "AdditionalData": [ { "value": "Brasil", "key": "CountryName" }, { "value": "São Paulo", "key": "StateName" } ] } } } ] } ] } }'; $obj = json_decode($json); echo "Display Position Latitude: " , $obj->Response->View[0]->Result[0]->Location->DisplayPosition->Latitude; echo "\nDisplay Position Longitude: " , $obj->Response->View[0]->Result[0]->Location->DisplayPosition->Longitude; echo "\nNavigation Position Latitude: " , $obj->Response->View[0]->Result[0]->Location->NavigationPosition[0]->Latitude; echo "\nNavigation Position Longitude: " , $obj->Response->View[0]->Result[0]->Location->NavigationPosition[0]->Longitude; echo "\nMap View Top Left Latitude: " , $obj->Response->View[0]->Result[0]->Location->MapView->TopLeft->Latitude; echo "\nMap View Top Left Longitude: " , $obj->Response->View[0]->Result[0]->Location->MapView->TopLeft->Longitude; echo "\nMap View Bottom Right Latitude: " , $obj->Response->View[0]->Result[0]->Location->MapView->BottomRight->Latitude; echo "\nMap View Bottom Right Longitude: " , $obj->Response->View[0]->Result[0]->Location->MapView->BottomRight->Longitude;

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.4.130.0110.00617.86
8.4.120.0050.00520.57
8.4.110.0090.00218.84
8.4.100.0070.00217.74
8.4.90.0100.01117.81
8.4.80.0120.00917.93
8.4.70.0080.01217.57
8.4.60.0150.00518.69
8.4.50.0110.01022.35
8.4.40.0040.00817.50
8.4.30.0160.00319.66
8.4.20.0180.00420.27
8.4.10.0090.00017.77
8.3.260.0110.00816.58
8.3.250.0120.00618.70
8.3.240.0100.00716.49
8.3.230.0120.00716.74
8.3.220.0090.00619.22
8.3.210.0110.00716.80
8.3.200.0030.00516.63
8.3.190.0120.00717.00
8.3.180.0110.00616.66
8.3.170.0090.00916.67
8.3.160.0180.00016.73
8.3.150.0070.01118.84
8.3.140.0070.01118.86
8.3.130.0060.00318.43
8.3.120.0040.00418.93
8.3.110.0080.00020.94
8.3.100.0030.01724.06
8.3.90.0090.00626.77
8.3.80.0060.00316.63
8.3.70.0100.01016.75
8.3.60.0070.01418.43
8.3.50.0150.00617.12
8.3.40.0100.00618.70
8.3.30.0170.00318.71
8.3.20.0080.00018.56
8.3.10.0080.00023.63
8.3.00.0080.00020.71
8.2.290.0080.00820.28
8.2.280.0130.01018.65
8.2.270.0150.00322.53
8.2.260.0000.00816.93
8.2.250.0090.00918.59
8.2.240.0140.00417.30
8.2.230.0050.00522.58
8.2.220.0030.00637.54
8.2.210.0090.00626.77
8.2.200.0000.00916.50
8.2.190.0070.00716.75
8.2.180.0110.00718.29
8.2.170.0100.01018.98
8.2.160.0110.00422.96
8.2.150.0000.00724.18
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0060.00319.36
8.2.110.0070.00320.99
8.2.100.0000.01119.28
8.2.90.0000.00819.32
8.2.80.0040.00420.50
8.2.70.0000.00818.05
8.2.60.0000.00818.27
8.2.50.0060.00318.10
8.2.40.0050.00321.14
8.2.30.0000.00719.44
8.2.20.0060.00618.23
8.2.10.0000.00719.53
8.2.00.0000.00817.63
8.1.330.0130.00616.76
8.1.320.0100.01017.78
8.1.310.0000.00716.77
8.1.300.0080.00018.06
8.1.290.0070.00418.88
8.1.280.0140.00725.92
8.1.270.0100.00018.83
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00622.07
8.1.230.0080.00320.92
8.1.220.0040.00417.74
8.1.210.0080.00018.87
8.1.200.0000.00917.10
8.1.190.0030.00617.23
8.1.180.0000.01118.10
8.1.170.0030.00618.32
8.1.160.0000.00718.86
8.1.150.0040.00418.81
8.1.140.0070.00022.12
8.1.130.0030.00317.43
8.1.120.0000.00717.31
8.1.110.0040.00417.38
8.1.100.0040.00417.49
8.1.90.0000.00817.43
8.1.80.0040.00417.49
8.1.70.0000.00717.44
8.1.60.0060.00317.47
8.1.50.0040.00417.54
8.1.40.0090.00017.47
8.1.30.0080.00017.63
8.1.20.0020.00517.53
8.1.10.0000.00717.60
8.1.00.0080.00017.43
8.0.300.0040.00420.34
8.0.290.0000.00716.88
8.0.280.0070.00018.54
8.0.270.0070.00316.86
8.0.260.0060.00316.77
8.0.250.0000.00717.00
8.0.240.0000.00716.94
8.0.230.0060.00316.84
8.0.220.0000.00716.86
8.0.210.0030.00316.74
8.0.200.0040.00416.89
8.0.190.0060.00316.81
8.0.180.0040.00416.90
8.0.170.0000.00916.90
8.0.160.0000.00716.90
8.0.150.0040.00416.87
8.0.140.0000.00816.84
8.0.130.0030.00313.34
8.0.120.0000.00816.90
8.0.110.0050.00316.92
8.0.100.0000.00816.83
8.0.90.0040.00416.77
8.0.80.0020.01616.89
8.0.70.0070.00016.86
8.0.60.0050.00316.84
8.0.50.0050.00316.88
8.0.30.0110.01017.19
8.0.20.0120.00917.40
8.0.10.0040.00416.88
8.0.00.0110.00816.77
7.4.330.0020.00215.55
7.4.320.0000.00716.46
7.4.300.0060.00016.57
7.4.290.0070.00016.55
7.4.280.0040.00416.39
7.4.270.0040.00416.55
7.4.260.0000.00716.63
7.4.250.0070.00016.52
7.4.240.0030.00316.60
7.4.230.0030.00316.69
7.4.220.0080.00016.64
7.4.210.0050.01316.62
7.4.200.0000.00816.75
7.4.160.0090.01016.59
7.4.140.0110.00917.86
7.4.130.0140.00516.74
7.4.120.0090.01216.57
7.4.110.0140.00716.57
7.4.100.0150.00316.43
7.4.90.0070.01016.57
7.4.80.0030.01519.39
7.4.70.0060.01516.66
7.4.60.0100.00616.50
7.4.50.0030.01016.72
7.4.40.0030.01416.52
7.4.10.0090.00614.73
7.4.00.0060.01014.90
7.3.330.0000.00513.09
7.3.320.0050.00013.00
7.3.310.0030.00316.09
7.3.300.0000.00716.20
7.3.290.0000.00716.24
7.3.280.0110.00616.22
7.3.260.0130.00816.55
7.3.240.0090.01016.37
7.3.230.0060.01216.41
7.3.210.0120.00916.33
7.3.200.0070.01016.26
7.3.190.0100.00716.59
7.3.180.0040.01216.27
7.3.170.0090.00816.23
7.3.160.0030.01416.31
7.3.130.0100.00714.94
7.3.120.0070.01114.53
7.3.110.0030.00814.73
7.3.100.0000.01414.64
7.3.90.0000.01514.73
7.3.80.0050.00514.57
7.3.70.0030.01014.79
7.3.60.0110.00314.81
7.3.50.0000.01014.66
7.3.40.0000.01014.78
7.3.30.0060.01014.85
7.3.20.0090.00616.75
7.3.10.0040.01116.63
7.3.00.0030.01316.43
7.2.330.0090.00916.82
7.2.320.0120.01216.42
7.2.310.0070.01416.86
7.2.300.0040.01316.45
7.2.290.0120.00916.55
7.2.260.0110.00715.07
7.2.250.0080.00814.99
7.2.240.0070.00715.16
7.2.230.0100.00714.84
7.2.220.0070.01014.82
7.2.210.0030.00914.92
7.2.200.0000.01014.72
7.2.190.0030.00614.92
7.2.180.0000.01115.05
7.2.170.0060.00615.06
7.2.160.0130.00314.82
7.2.150.0090.00316.73
7.2.140.0090.00616.79
7.2.130.0040.00816.60
7.2.120.0030.00916.87
7.2.110.2880.00715.58
7.2.100.2710.00515.70
7.2.90.0130.00815.68
7.2.80.2920.00315.73
7.2.70.3090.01615.95
7.2.60.0310.00615.86
7.2.50.2540.00215.83
7.2.40.2420.00615.90
7.2.30.2980.00715.93
7.2.20.2360.00815.94
7.2.10.1380.00615.85
7.2.00.2840.00815.92
7.1.330.0100.00715.68
7.1.320.0070.00715.81
7.1.310.0040.00815.86
7.1.300.0100.00015.66
7.1.290.0100.00615.46
7.1.280.0030.00915.78
7.1.270.0070.00715.47
7.1.260.0070.00715.63
7.1.250.0060.00615.82
7.1.240.0000.00815.77
7.1.230.2680.01014.55
7.1.220.2710.00814.45
7.1.210.3070.00314.83
7.1.200.3150.00314.59
7.1.190.2870.00514.77
7.1.180.2340.00314.50
7.1.170.2170.00814.82
7.1.160.2760.00714.61
7.1.150.2910.00614.55
7.1.140.2250.00514.91
7.1.130.2320.00614.68
7.1.120.3010.00814.65
7.1.110.2670.01214.71
7.1.100.2340.00814.82
7.1.90.2810.00914.78
7.1.80.2160.01014.72
7.1.70.1960.00714.91
7.1.60.2120.00823.89
7.1.50.1920.01323.84
7.1.40.1980.01023.65
7.1.30.2520.00523.68
7.1.20.0710.00723.68
7.1.10.1910.00814.72
7.1.00.2250.00615.00
7.0.330.0090.00015.30
7.0.320.0040.00715.36
7.0.310.0100.00315.15
7.0.300.0030.01015.34
7.0.290.0030.01014.99
7.0.280.0040.01115.30
7.0.270.0030.01315.06
7.0.260.0080.00715.36
7.0.250.0060.00915.53
7.0.240.0070.00715.44
7.0.230.0090.00915.41
7.0.220.0070.00715.20
7.0.210.0130.00015.53
7.0.200.0040.01115.45
7.0.190.0030.00615.44
7.0.180.0040.00815.14
7.0.170.0000.01215.42
7.0.160.0090.00615.27
7.0.150.0040.00715.46
7.0.140.0030.00915.45
7.0.130.0090.00915.45
7.0.120.0060.00615.49
7.0.110.0040.00915.40
7.0.100.0110.00315.18
7.0.90.0090.00015.43
7.0.80.0030.00715.48
7.0.70.0090.00915.38
7.0.60.0060.01315.37
7.0.50.0080.00315.21
7.0.40.0060.00613.43
7.0.30.0030.01013.29
7.0.20.0000.00813.38
7.0.10.0100.00313.41
7.0.00.0040.00813.29
5.6.400.0130.00314.16
5.6.390.0030.00914.41
5.6.380.0090.00613.92
5.6.370.0070.00414.07
5.6.360.0030.01014.23
5.6.350.0060.00914.27
5.6.340.0030.01314.47
5.6.330.0090.00614.24
5.6.320.0000.01514.57
5.6.310.0100.00714.41
5.6.300.0030.01014.61
5.6.290.0060.01214.20
5.6.280.0040.00814.54
5.6.270.0040.00714.11
5.6.260.0070.01014.27
5.6.250.0060.00314.16
5.6.240.0070.00414.23
5.6.230.0080.00614.27
5.6.220.0040.01114.27
5.6.210.0040.01114.26
5.6.200.0110.00714.26
5.6.190.0000.01014.21
5.6.180.0100.00314.21
5.6.170.0040.01114.03
5.6.160.0040.00714.55
5.6.150.0000.01513.95
5.6.140.0030.01214.07
5.6.130.0060.00614.46
5.6.120.0060.00614.54
5.6.110.0060.00614.37
5.6.100.0110.00414.24
5.6.90.0070.00714.25
5.6.80.0000.01114.09
5.6.70.0000.01414.27
5.6.60.0090.00314.27
5.6.50.0060.00314.21
5.6.40.0000.01214.12
5.6.30.0070.01014.14
5.6.20.0060.00614.14
5.6.10.0110.00314.26
5.6.00.0000.01114.34

preferences:
34.19 ms | 403 KiB | 5 Q