3v4l.org

run code in 500+ PHP versions simultaneously
<?php $data = json_decode('{"details":"http://github.com/adamcooke/vat-rates","version":null,"rates":[{"name":"Spain","code":"ES","country_code":"ES","periods":[{"effective_from":"0000-01-01","rates":{"super_reduced":4.0,"reduced":10.0,"standard":21.0}}]},{"name":"Bulgaria","code":"BG","country_code":"BG","periods":[{"effective_from":"0000-01-01","rates":{"reduced":9.0,"standard":20.0}}]},{"name":"Hungary","code":"HU","country_code":"HU","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":5.0,"reduced2":18.0,"standard":27.0}}]},{"name":"Latvia","code":"LV","country_code":"LV","periods":[{"effective_from":"0000-01-01","rates":{"reduced":12.0,"standard":21.0}}]},{"name":"Poland","code":"PL","country_code":"PL","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":5.0,"reduced2":8.0,"standard":23.0}}]},{"name":"United Kingdom","code":"UK","country_code":"GB","periods":[{"effective_from":"2011-01-04","rates":{"standard":20.0,"reduced":5.0}}]},{"name":"Czech Republic","code":"CZ","country_code":"CZ","periods":[{"effective_from":"0000-01-01","rates":{"reduced":15.0,"standard":21.0}}]},{"name":"Malta","code":"MT","country_code":"MT","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":5.0,"reduced2":7.0,"standard":18.0}}]},{"name":"Italy","code":"IT","country_code":"IT","periods":[{"effective_from":"0000-01-01","rates":{"super_reduced":4.0,"reduced":10.0,"standard":22.0}}]},{"name":"Slovenia","code":"SI","country_code":"SI","periods":[{"effective_from":"0000-01-01","rates":{"reduced":9.5,"standard":22.0}}]},{"name":"Ireland","code":"IE","country_code":"IE","periods":[{"effective_from":"0000-01-01","rates":{"super_reduced":4.8,"reduced1":9.0,"reduced2":13.5,"standard":23.0,"parking":13.5}}]},{"name":"Sweden","code":"SE","country_code":"SE","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":6.0,"reduced2":12.0,"standard":25.0}}]},{"name":"Denmark","code":"DK","country_code":"DK","periods":[{"effective_from":"0000-01-01","rates":{"standard":25.0}}]},{"name":"Finland","code":"FI","country_code":"FI","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":10.0,"reduced2":14.0,"standard":24.0}}]},{"name":"Cyprus","code":"CY","country_code":"CY","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":5.0,"reduced2":9.0,"standard":19.0}}]},{"name":"Luxembourg","code":"LU","country_code":"LU","periods":[{"effective_from":"2016-01-01","rates":{"super_reduced":3.0,"reduced1":8.0,"standard":17.0,"parking":13.0}},{"effective_from":"2015-01-01","rates":{"super_reduced":3.0,"reduced1":8.0,"reduced2":14.0,"standard":17.0,"parking":12.0}},{"effective_from":"0000-01-01","rates":{"super_reduced":3.0,"reduced1":6.0,"reduced2":12.0,"standard":15.0,"parking":12.0}}]},{"name":"Romania","code":"RO","country_code":"RO","periods":[{"effective_from":"2017-01-01","rates":{"reduced1":5.0,"reduced2":9.0,"standard":19.0}},{"effective_from":"2016-01-01","rates":{"reduced1":5.0,"reduced2":9.0,"standard":20.0}},{"effective_from":"0000-01-01","rates":{"reduced1":5.0,"reduced2":9.0,"standard":24.0}}]},{"name":"Estonia","code":"EE","country_code":"EE","periods":[{"effective_from":"0000-01-01","rates":{"reduced":9.0,"standard":20.0}}]},{"name":"Greece","code":"EL","country_code":"GR","periods":[{"effective_from":"2016-06-01","rates":{"reduced1":6.0,"reduced2":13.5,"standard":24.0}},{"effective_from":"2016-01-01","rates":{"reduced1":6.0,"reduced2":13.5,"standard":23.0}},{"effective_from":"0000-01-01","rates":{"reduced1":6.5,"reduced2":13.0,"standard":23.0}}]},{"name":"Lithuania","code":"LT","country_code":"LT","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":5.0,"reduced2":9.0,"standard":21.0}}]},{"name":"France","code":"FR","country_code":"FR","periods":[{"effective_from":"2014-01-01","rates":{"super_reduced":2.1,"reduced1":5.5,"reduced2":10.0,"standard":20.0}},{"effective_from":"2012-01-01","rates":{"super_reduced":2.1,"reduced1":5.5,"reduced2":7.0,"standard":19.6}},{"effective_from":"0000-01-01","rates":{"super_reduced":2.1,"reduced1":5.5,"standard":19.6}}]},{"name":"Croatia","code":"HR","country_code":"HR","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":5.0,"reduced2":13.0,"standard":25.0}}]},{"name":"Belgium","code":"BE","country_code":"BE","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":6.0,"reduced2":12.0,"standard":21.0,"parking":12.0}}]},{"name":"Netherlands","code":"NL","country_code":"NL","periods":[{"effective_from":"2012-10-01","rates":{"reduced":6.0,"standard":21.0}},{"effective_from":"0000-01-01","rates":{"reduced":6.0,"standard":19.0}}]},{"name":"Slovakia","code":"SK","country_code":"SK","periods":[{"effective_from":"0000-01-01","rates":{"reduced":10.0,"standard":20.0}}]},{"name":"Germany","code":"DE","country_code":"DE","periods":[{"effective_from":"0000-01-01","rates":{"reduced":7.0,"standard":19.0}}]},{"name":"Portugal","code":"PT","country_code":"PT","periods":[{"effective_from":"0000-01-01","rates":{"reduced1":6.0,"reduced2":13.0,"standard":23.0,"parking":13.0}}]},{"name":"Austria","code":"AT","country_code":"AT","periods":[{"effective_from":"2016-01-01","rates":{"reduced1":10.0,"reduced2":13.0,"standard":20.0,"parking":13.0}},{"effective_from":"0000-01-01","rates":{"reduced":10.0,"standard":20.0,"parking":12.0}}]}]}'); echo $data->rates[0]->periods[0]->rates->standard;

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.30.0080.00821.35
8.5.20.0100.00719.34
8.5.10.0160.00816.43
8.5.00.0140.00819.90
8.4.180.0110.01319.70
8.4.170.0100.01320.55
8.4.160.0120.01222.11
8.4.150.0070.00516.82
8.4.140.0120.01017.77
8.4.130.0150.00617.56
8.4.120.0120.00724.05
8.4.110.0110.00619.64
8.4.100.0060.00318.98
8.4.90.0120.00819.16
8.4.80.0090.00818.62
8.4.70.0130.00818.00
8.4.60.0130.00718.55
8.4.50.0140.00818.85
8.4.40.0160.00322.41
8.4.30.0060.01322.07
8.4.20.0040.00418.73
8.4.10.0130.00619.64
8.3.300.0130.00620.95
8.3.290.0100.01220.95
8.3.280.0110.00918.39
8.3.270.0090.01316.68
8.3.260.0090.00816.76
8.3.250.0060.00219.04
8.3.240.0060.00217.03
8.3.230.0050.00316.44
8.3.220.0060.00218.85
8.3.210.0100.01016.41
8.3.200.0050.00316.60
8.3.190.0090.01117.13
8.3.180.0110.00717.00
8.3.170.0150.00320.78
8.3.160.0120.00616.35
8.3.150.0100.01017.04
8.3.140.0090.00616.45
8.3.130.0050.00318.46
8.3.120.0040.00720.60
8.3.110.0100.01020.94
8.3.100.0080.00616.91
8.3.90.0080.00818.54
8.3.80.0060.00318.30
8.3.70.0070.01116.75
8.3.60.0170.00318.18
8.3.50.0110.00817.29
8.3.40.0070.00718.52
8.3.30.0090.00618.85
8.3.20.0030.00520.66
8.3.10.0040.00420.35
8.3.00.0000.00919.25
8.2.300.0110.01022.13
8.2.290.0120.00920.36
8.2.280.0100.01020.11
8.2.270.0040.01417.19
8.2.260.0040.00418.36
8.2.250.0120.00616.54
8.2.240.0040.00419.09
8.2.230.0080.00022.58
8.2.220.0160.00324.06
8.2.210.0050.00326.77
8.2.200.0060.00316.88
8.2.190.0030.01018.30
8.2.180.0120.00618.25
8.2.170.0080.00622.96
8.2.160.0070.00719.43
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00419.31
8.2.120.0070.00026.35
8.2.110.0030.00722.13
8.2.100.0110.00017.91
8.2.90.0000.00820.42
8.2.80.0030.00918.16
8.2.70.0050.00318.05
8.2.60.0050.00318.22
8.2.50.0000.00818.10
8.2.40.0060.00319.26
8.2.30.0040.00419.29
8.2.20.0000.00718.09
8.2.10.0060.00319.45
8.2.00.0070.00018.12
8.1.340.0140.00617.69
8.1.330.0120.00721.93
8.1.320.0100.01016.46
8.1.310.0060.00316.38
8.1.300.0030.00616.46
8.1.290.0090.00018.88
8.1.280.0070.01025.92
8.1.270.0070.00020.45
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0050.00522.66
8.1.230.0040.00721.02
8.1.220.0000.00817.91
8.1.210.0050.00318.88
8.1.200.0050.00317.35
8.1.190.0050.00317.25
8.1.180.0080.00018.10
8.1.170.0090.00018.67
8.1.160.0040.00418.89
8.1.150.0000.00718.83
8.1.140.0000.00720.26
8.1.130.0000.00817.42
8.1.120.0070.00017.35
8.1.110.0080.00017.48
8.1.100.0000.00717.41
8.1.90.0070.00317.44
8.1.80.0050.00317.46
8.1.70.0070.00017.43
8.1.60.0030.00617.62
8.1.50.0040.00417.51
8.1.40.0060.00317.53
8.1.30.0000.00817.71
8.1.20.0090.00017.61
8.1.10.0040.00417.63
8.1.00.0060.00317.55
8.0.300.0060.00320.12
8.0.290.0060.00316.88
8.0.280.0000.00718.49
8.0.270.0050.00517.30
8.0.260.0060.00016.86
8.0.250.0000.00717.00
8.0.240.0070.00017.05
8.0.230.0070.00016.98
8.0.220.0100.00016.77
8.0.210.0040.00416.75
8.0.200.0040.00416.82
8.0.190.0000.00816.84
8.0.180.0040.00416.86
8.0.170.0030.00616.81
8.0.160.0000.00716.86
8.0.150.0050.00216.71
8.0.140.0000.00716.81
8.0.130.0050.00013.39
8.0.120.0070.00016.85
8.0.110.0040.00416.71
8.0.100.0020.00516.76
8.0.90.0040.00416.92
8.0.80.0120.00516.92
8.0.70.0000.00716.91
8.0.60.0030.00416.88
8.0.50.0060.00316.70
8.0.30.0130.00317.03
8.0.20.0140.00817.17
8.0.10.0040.00416.85
8.0.00.0090.01016.74
7.4.330.0000.00515.55
7.4.320.0060.00016.52
7.4.300.0030.00316.49
7.4.290.0030.00316.53
7.4.280.0000.01016.65
7.4.270.0000.00716.68
7.4.260.0030.00316.69
7.4.250.0040.00416.52
7.4.240.0030.00316.56
7.4.230.0000.00716.66
7.4.220.0070.00016.73
7.4.210.0090.00616.67
7.4.200.0000.00816.66
7.4.160.0090.00616.61
7.4.140.0070.00917.86
7.4.130.0090.00916.54
7.4.120.0030.01316.55
7.4.110.0100.00716.44
7.4.100.0150.00916.66
7.4.90.0120.00416.50
7.4.80.0060.01219.39
7.4.70.0100.00716.60
7.4.60.0080.00816.57
7.4.50.0110.00716.46
7.4.40.0190.00016.73
7.4.10.0080.01014.84
7.4.00.0060.01015.00
7.3.330.0030.00313.02
7.3.320.0030.00313.19
7.3.310.0030.00316.32
7.3.300.0070.00016.17
7.3.290.0030.01516.29
7.3.280.0040.01116.21
7.3.260.0130.00916.46
7.3.240.0120.00816.36
7.3.230.0100.00716.55
7.3.210.0150.00316.41
7.3.200.0120.00616.30
7.3.190.0070.01016.37
7.3.180.0070.01116.44
7.3.170.0140.00416.27
7.3.160.0000.01816.55
7.3.130.0100.00814.80
7.3.120.0060.01314.83
7.3.110.0090.00714.60
7.3.100.0080.00614.76
7.3.90.0050.00714.81
7.3.80.0040.00614.90
7.3.70.0050.00614.86
7.3.60.0030.00914.92
7.3.50.0090.00614.84
7.3.40.0050.00514.67
7.3.30.0040.01014.89
7.3.20.0190.00616.05
7.3.10.0120.00916.12
7.3.00.0190.00516.11
7.2.330.0100.00716.69
7.2.320.0130.01016.65
7.2.310.0140.00716.53
7.2.300.0090.00616.86
7.2.290.0060.01216.41
7.2.260.0060.01314.86
7.2.250.0040.01314.89
7.2.240.0110.00715.05
7.2.230.0060.00915.26
7.2.220.0070.00615.09
7.2.210.0090.00415.05
7.2.200.0100.00515.05
7.2.190.0020.01114.90
7.2.180.0100.00615.00
7.2.170.0080.00615.15
7.2.160.0020.00914.88
7.2.150.0190.00816.15
7.2.140.0190.00816.16
7.2.130.0210.00616.12
7.2.120.0220.00816.11
7.2.110.0240.00416.14
7.2.100.0170.01016.15
7.2.90.0160.00816.28
7.2.80.0200.01016.12
7.2.70.0190.00616.06
7.2.60.0510.00516.17
7.2.50.0170.00816.22
7.2.40.0190.00416.10
7.2.30.0190.00716.19
7.2.20.0150.01016.28
7.2.10.0180.00916.02
7.2.00.0260.00616.16
7.1.330.0030.01015.49
7.1.320.0030.00915.58
7.1.310.0030.00915.71
7.1.300.0060.00915.70
7.1.290.0080.00715.62
7.1.280.0060.00815.74
7.1.270.0070.00515.61
7.1.260.0080.00515.80
7.1.250.0220.00814.82
7.1.240.0060.00615.55
7.1.230.0060.00815.49
7.1.220.0060.00815.88
7.1.210.0030.00915.78
7.1.200.0090.00515.71
7.1.190.0060.00615.45
7.1.180.0060.00615.70
7.1.170.0070.00415.67
7.1.160.0040.00815.67
7.1.150.0050.00915.61
7.1.140.0030.00915.76
7.1.130.0110.00415.85
7.1.120.0060.00515.60
7.1.110.0090.00515.85
7.1.100.0070.00715.66
7.1.90.0020.01015.63
7.1.80.0050.00915.64
7.1.70.0050.00715.57
7.1.60.0030.00915.78
7.1.50.0030.01015.73
7.1.40.0020.00815.66
7.1.30.0070.00715.74
7.1.20.0030.00915.72
7.1.10.0060.00815.68
7.1.00.0070.00715.67

preferences:
118.96 ms | 1600 KiB | 5 Q