3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"outfits": [{"1": [{"category_id": "women_jeans", "product_id": 464540467}, {"category_id": "women_tops", "product_id": 487351815}, {"category_id": "women_coats", "product_id": 493322686}, {"category_id": "women_bags", "product_id": 483902882}, {"category_id": "women_shoes", "product_id": 492772225}]}]}'; $outfits = json_decode($json); var_dump($outfits);

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.60.0110.00716.61
8.3.50.0120.00621.94
8.3.40.0060.00918.58
8.3.30.0110.00418.69
8.3.20.0000.00819.23
8.3.10.0000.00821.95
8.3.00.0000.00820.95
8.2.180.0180.00016.38
8.2.170.0110.00422.96
8.2.160.0100.00319.29
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00419.82
8.2.120.0060.00326.35
8.2.110.0050.00519.27
8.2.100.0110.00017.93
8.2.90.0000.00819.17
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0080.00017.91
8.2.50.0050.00318.10
8.2.40.0040.00422.35
8.2.30.0040.00420.73
8.2.20.0050.00317.53
8.2.10.0000.00817.98
8.2.00.0040.00418.03
8.1.280.0110.00725.92
8.1.270.0040.00423.96
8.1.260.0000.00828.09
8.1.250.0000.00828.09
8.1.240.0040.00421.99
8.1.230.0080.00317.52
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0090.00017.23
8.1.180.0030.00518.10
8.1.170.0030.00618.52
8.1.160.0040.00419.00
8.1.150.0070.00018.81
8.1.140.0030.00519.51
8.1.130.0080.00017.55
8.1.120.0030.00317.40
8.1.110.0040.00417.40
8.1.100.0040.00417.43
8.1.90.0070.00017.36
8.1.80.0050.00217.38
8.1.70.0000.00717.39
8.1.60.0000.00917.53
8.1.50.0080.00017.41
8.1.40.0040.00417.48
8.1.30.0000.00817.57
8.1.20.0040.00417.43
8.1.10.0040.00417.34
8.1.00.0080.00017.35
8.0.300.0050.00318.77
8.0.290.0000.00816.63
8.0.280.0030.00518.38
8.0.270.0070.00017.20
8.0.260.0000.00617.20
8.0.250.0080.00016.80
8.0.240.0000.00716.91
8.0.230.0040.00316.91
8.0.220.0030.00316.85
8.0.210.0080.00016.70
8.0.200.0070.00016.84
8.0.190.0000.00716.88
8.0.180.0080.00016.88
8.0.170.0030.00516.75
8.0.160.0040.00416.85
8.0.150.0040.00416.86
8.0.140.0090.00016.70
8.0.130.0000.00713.23
8.0.120.0080.00016.77
8.0.110.0000.00716.71
8.0.100.0040.00416.86
8.0.90.0000.00716.65
8.0.80.0070.01016.89
8.0.70.0050.00316.86
8.0.60.0040.00416.70
8.0.50.0000.00716.64
8.0.30.0060.01117.04
8.0.20.0120.00817.40
8.0.10.0040.00416.97
8.0.00.0180.00816.60
7.4.330.0000.00515.08
7.4.320.0030.00316.44
7.4.300.0000.00616.44
7.4.290.0000.00716.54
7.4.280.0000.00816.42
7.4.270.0070.00016.51
7.4.260.0060.00316.42
7.4.250.0070.00016.43
7.4.240.0030.00316.41
7.4.230.0030.00516.34
7.4.220.0190.00316.35
7.4.210.0100.00616.46
7.4.200.0040.00416.59
7.4.160.0110.00416.42
7.4.150.0060.01317.40
7.4.140.0120.01217.86
7.4.130.0100.00816.37
7.4.120.0130.00816.27
7.4.110.0090.00916.45
7.4.100.0110.01116.41
7.4.90.0080.01316.30
7.4.80.0090.01419.39
7.4.70.0030.01916.28
7.4.60.0140.00916.42
7.4.50.0030.01316.25
7.4.40.0120.00316.38
7.4.30.0060.01016.31
7.4.00.0090.00015.11
7.3.330.0000.00612.87
7.3.320.0000.00513.07
7.3.310.0030.00315.90
7.3.300.0000.00716.13
7.3.290.0100.00416.13
7.3.280.0110.00516.16
7.3.270.0180.00917.40
7.3.260.0100.00816.35
7.3.250.0130.00716.28
7.3.240.0120.00616.27
7.3.230.0060.01116.39
7.3.210.0100.01016.27
7.3.200.0070.01016.22
7.3.190.0160.00016.31
7.3.180.0130.00516.36
7.3.170.0150.00716.30
7.3.160.0090.01216.31
7.3.10.0030.00916.33
7.3.00.0100.00716.34
7.2.330.0070.01416.62
7.2.320.0130.01016.36
7.2.310.0160.00216.39
7.2.300.0040.01416.27
7.2.290.0180.00716.62
7.2.130.0050.00516.41
7.2.120.0000.01116.03
7.2.110.0160.00416.81
7.2.100.0120.00616.25
7.2.90.0080.00816.56
7.2.80.0070.01016.72
7.2.70.0090.01316.84
7.2.60.0120.00716.59
7.2.50.0110.00616.45
7.2.40.0090.00916.94
7.2.30.0110.00416.42
7.2.20.0100.00616.61
7.2.10.0100.00316.40
7.2.00.0070.00717.96
7.1.250.0030.00315.45
7.1.200.0030.00615.80
7.1.100.0040.00718.19
7.1.70.0030.00616.80
7.1.60.0070.01019.32
7.1.50.0120.01517.00
7.1.00.0030.07022.35
7.0.200.0060.00614.96
7.0.60.0770.00019.92
7.0.50.1070.00020.46
7.0.40.0800.00020.35
7.0.30.0870.00020.25
7.0.20.0700.00020.45
7.0.10.0900.00020.32
7.0.00.0930.00020.44
5.6.280.0030.07321.11
5.6.210.0900.00020.68
5.6.200.0900.00021.12
5.6.190.0830.00021.21
5.6.180.0830.00021.15
5.6.170.0970.00021.20
5.6.160.0930.00021.20
5.6.150.0900.00021.01
5.6.140.0900.00020.95
5.6.130.1200.00021.07
5.6.120.0730.00020.95
5.6.110.0800.00021.20
5.6.100.0870.00021.01
5.6.90.0930.00021.05
5.6.80.0830.00020.40
5.6.70.0670.00020.41
5.6.60.1100.00020.57
5.6.50.0770.00020.43
5.6.40.0770.00020.37
5.6.30.0930.00020.34
5.6.20.1070.00020.36
5.6.10.0900.00020.46
5.6.00.0800.00020.40
5.5.350.0800.00020.40
5.5.340.0830.00020.84
5.5.330.0830.00020.79
5.5.320.0800.00020.83
5.5.310.0730.00021.03
5.5.300.0970.00020.76
5.5.290.0900.00020.81
5.5.280.1030.00020.74
5.5.270.0870.00020.95
5.5.260.0930.00020.70
5.5.250.0900.00020.67
5.5.240.0700.00020.17
5.5.230.0730.00020.20
5.5.220.0830.00020.24
5.5.210.0830.00020.42
5.5.200.0830.00020.21
5.5.190.0900.00020.19
5.5.180.0970.00020.14
5.5.160.0700.00020.19
5.5.150.0700.00020.34
5.5.140.0800.00020.06
5.5.130.0800.00020.21
5.5.120.0700.00020.17
5.5.110.0900.00020.17
5.5.100.0830.00020.07
5.5.90.0670.00019.99
5.5.80.0730.00020.07
5.5.70.0770.00019.94
5.5.60.0730.00020.12
5.5.50.0700.00020.03
5.5.40.0700.00020.17
5.5.30.0770.00019.99
5.5.20.0770.00020.14
5.5.10.0830.00019.96
5.5.00.0730.00020.06

preferences:
68.06 ms | 401 KiB | 5 Q