3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"TransactionInfo":{"Date":"06\/04\/2018","Time":"09:29 ET","TransactionCharge":{"MonetaryValue":"0.00","CurrencyCode":{}}},"ShipmentEstimate":{"CurrencyCode":"EUR","ShipmentCharges":{"TaxesAndFees":"1.7532","AdditionalInsuranceCost":"0.00","TransportationCost":"0.00","SubTotal":"1.7532"},"ProductsCharges":{"Product":{"TariffCode":"5109.90.80.00","Charges":{"Duties":"75.0021","TaxesAndFees":"0.00","VAT":"0.00","CostOfGoods":"1250.00","SubTotal":"1325.0021"}},"ProductsSubTotal":"1325.0021"},"TotalLandedCost":"1326.7553"},"SuppressQuestionIndicator":"Y"}'; $array = json_decode($json, true); echo $array['ShipmentEstimate']['ProductsCharges']['Product']['TariffCode'];

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.5.10.0100.00916.77
8.5.00.0140.00919.99
8.4.160.0100.01123.98
8.4.150.0020.00114.05
8.4.140.0140.00617.77
8.4.130.0080.01017.64
8.4.120.0120.00820.84
8.4.110.0080.01218.55
8.4.100.0120.00917.71
8.4.90.0140.00617.46
8.4.80.0080.00518.93
8.4.70.0110.01019.55
8.4.60.0140.00620.26
8.4.50.0100.00818.53
8.4.40.0100.00917.58
8.4.30.0030.01717.53
8.4.20.0100.01019.32
8.4.10.0100.00617.78
8.3.280.0020.00014.05
8.3.270.0080.01016.70
8.3.260.0140.00516.56
8.3.250.0080.00718.80
8.3.240.0050.00516.50
8.3.230.0120.00816.42
8.3.220.0060.00518.93
8.3.210.0110.00818.48
8.3.200.0080.00116.60
8.3.190.0110.00918.94
8.3.180.0100.00917.29
8.3.170.0000.00719.05
8.3.160.0060.00317.29
8.3.150.0100.01020.63
8.3.140.0040.00418.35
8.3.130.0060.00318.44
8.3.120.0070.01020.58
8.3.110.0100.00020.94
8.3.100.0050.00324.06
8.3.90.0100.01026.77
8.3.80.0080.00416.66
8.3.70.0070.00716.58
8.3.60.0070.01118.30
8.3.50.0050.00818.25
8.3.40.0040.01118.88
8.3.30.0090.00618.65
8.3.20.0110.00719.02
8.3.10.0140.00321.03
8.3.00.0060.00317.68
8.2.290.0040.00518.98
8.2.280.0070.01018.28
8.2.270.0060.01217.25
8.2.260.0100.00720.71
8.2.250.0050.00316.78
8.2.240.0080.00017.24
8.2.230.0180.00022.58
8.2.220.0080.00037.54
8.2.210.0080.00026.77
8.2.200.0030.00616.63
8.2.190.0160.00616.75
8.2.180.0110.01125.92
8.2.170.0070.01422.96
8.2.160.0050.00921.08
8.2.150.0030.00524.18
8.2.140.0040.01224.66
8.2.130.0080.00026.16
8.2.120.0040.00421.11
8.2.110.0120.00022.06
8.2.100.0040.00818.12
8.2.90.0060.00318.33
8.2.80.0000.00818.67
8.2.70.0040.00417.93
8.2.60.0080.00018.02
8.2.50.0090.00018.10
8.2.40.0040.00419.35
8.2.30.0000.00819.37
8.2.20.0040.00418.18
8.2.10.0000.00718.12
8.2.00.0050.00319.48
8.1.330.0140.00616.02
8.1.320.0120.00916.13
8.1.310.0090.00616.68
8.1.300.0000.00919.58
8.1.290.0060.00330.84
8.1.280.0100.00725.92
8.1.270.0030.00623.76
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0100.00020.42
8.1.230.0070.00321.00
8.1.220.0090.00017.79
8.1.210.0090.00018.77
8.1.200.0050.00317.22
8.1.190.0030.00618.85
8.1.180.0040.00418.10
8.1.170.0000.00818.60
8.1.160.0000.00718.82
8.1.150.0030.00518.87
8.1.140.0030.00517.64
8.1.130.0040.00418.93
8.1.120.0070.00317.41
8.1.110.0070.00017.42
8.1.100.0000.00717.39
8.1.90.0000.00817.42
8.1.80.0000.00717.41
8.1.70.0030.00517.29
8.1.60.0000.00817.54
8.1.50.0080.00017.44
8.1.40.0050.00317.46
8.1.30.0050.00517.44
8.1.20.0050.00217.60
8.1.10.0000.01117.59
8.1.00.0050.00317.52
8.0.300.0070.00021.46
8.0.290.0000.00816.75
8.0.280.0030.00318.50
8.0.270.0030.00316.80
8.0.260.0000.00718.40
8.0.250.0000.00616.89
8.0.240.0040.00416.92
8.0.230.0050.00316.82
8.0.220.0000.00716.83
8.0.210.0000.00716.79
8.0.200.0030.00316.93
8.0.190.0080.00016.96
8.0.180.0000.00716.73
8.0.170.0000.01016.88
8.0.160.0000.00716.89
8.0.150.0000.00716.66
8.0.140.0060.00316.79
8.0.130.0060.00013.15
8.0.120.0040.00416.80
8.0.110.0030.00616.76
8.0.100.0040.00416.84
8.0.90.0020.00516.63
8.0.80.0080.01216.82
8.0.70.0000.00716.94
8.0.60.0000.00716.66
8.0.50.0080.00016.87
8.0.30.0110.00817.09
8.0.20.0120.00817.40
8.0.10.0000.00717.04
8.0.00.0080.01016.67
7.4.330.0030.00315.55
7.4.320.0040.00416.54
7.4.300.0030.00316.44
7.4.290.0000.00716.39
7.4.280.0000.00716.54
7.4.270.0000.00816.51
7.4.260.0040.00416.41
7.4.250.0050.00316.44
7.4.240.0000.00716.42
7.4.230.0030.00316.42
7.4.220.0040.00416.52
7.4.210.0070.01016.53
7.4.200.0090.00016.65
7.4.160.0090.01116.52
7.4.140.0090.00917.86
7.4.130.0080.00916.34
7.4.120.0080.01016.42
7.4.110.0030.01316.60
7.4.100.0100.00716.54
7.4.90.0100.00716.29
7.4.80.0090.00919.39
7.4.70.0000.01516.47
7.4.60.0070.01116.41
7.4.50.0030.00916.60
7.4.40.0120.00916.57
7.4.00.0080.00814.93
7.3.330.0000.00513.02
7.3.320.0030.00313.02
7.3.310.0040.00415.96
7.3.300.0030.00316.03
7.3.290.0030.00316.28
7.3.280.0060.00916.21
7.3.260.0120.01116.22
7.3.240.0060.01116.44
7.3.230.0120.00416.59
7.3.210.0110.00716.12
7.3.200.0060.00916.34
7.3.190.0100.00816.49
7.3.180.0100.00616.10
7.3.170.0090.00916.34
7.3.160.0090.00616.52
7.3.120.0070.01014.74
7.3.110.0060.00914.79
7.3.100.0100.00314.97
7.3.90.0080.00614.85
7.3.80.0060.00314.70
7.3.70.0000.01114.82
7.3.60.0090.00614.79
7.3.50.0060.00614.77
7.3.40.0030.00914.76
7.3.30.0080.00314.79
7.3.20.0070.00416.54
7.3.10.0030.00916.57
7.3.00.0040.00716.61
7.2.330.0070.01216.71
7.2.320.0190.00016.87
7.2.310.0000.02516.75
7.2.300.0120.01216.70
7.2.290.0110.00716.49
7.2.240.0000.01814.72
7.2.230.0030.01415.19
7.2.220.0070.01015.20
7.2.210.0030.01315.15
7.2.200.0100.00715.19
7.2.190.0060.00914.90
7.2.180.0040.00715.00
7.2.170.0070.00715.04
7.2.160.0120.00615.16
7.2.150.0090.00316.61
7.2.140.0060.00916.89
7.2.130.0110.00716.79
7.2.120.0050.00516.83
7.2.110.0030.00917.08
7.2.100.0060.00917.06
7.2.90.0040.01416.71
7.2.80.0110.00416.61
7.2.70.0100.00716.55
7.2.60.1090.01015.94
7.2.50.1110.01115.63
7.2.40.1000.00216.10
7.2.30.1150.00916.25
7.2.20.1180.00915.99
7.2.10.1000.00716.02
7.2.00.0850.00716.01
7.1.330.0070.01015.91
7.1.320.0040.01415.88
7.1.310.0070.00715.70
7.1.300.0100.00715.68
7.1.290.0030.01015.79
7.1.280.0030.01015.85
7.1.270.0040.00815.77
7.1.260.0000.01715.92
7.1.250.0070.00715.82
7.1.200.0030.00715.43
7.1.170.2030.01013.80
7.1.160.1980.01016.63
7.1.150.1820.00816.93
7.1.140.1490.01317.05
7.1.130.1240.00916.64
7.1.120.1420.01216.87
7.1.110.1360.00516.08
7.1.100.2160.00816.33
7.1.90.2380.01016.06
7.1.80.1080.00716.11
7.1.70.1760.00715.07
7.1.60.1620.01733.10
7.1.50.1870.01632.93
7.1.40.2080.01632.60
7.1.30.2360.01932.66
7.1.20.1620.01532.52
7.1.10.2020.01414.63
7.1.00.1670.01314.75

preferences:
51.12 ms | 403 KiB | 5 Q