3v4l.org

run code in 300+ PHP versions simultaneously
<?php $j1 = '{ "data": [ { "parent": "summer", "image": "template/assets/x354.jpg", "productName": "United Colors of Benetton" }, { "parent": "autumn", "image": "template/assets/x354.jpg", "productName": "United Colors of Benetton" }, { "parent": "summer", "image": "template/assets/x354.jpg", "productName": "Puma Running Shoes" } ] } '; $d1 = json_decode($j1); print_r($d1);

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.40.0040.01118.54
8.3.30.0140.00018.97
8.3.20.0070.00020.34
8.3.10.0080.00023.70
8.3.00.0050.00219.27
8.2.170.0070.00722.96
8.2.160.0130.00322.30
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00819.66
8.2.110.0110.00019.30
8.2.100.0060.00618.03
8.2.90.0000.00818.09
8.2.80.0040.00418.03
8.2.70.0050.00317.80
8.2.60.0000.00718.09
8.2.50.0080.00018.10
8.2.40.0040.00421.07
8.2.30.0070.00019.24
8.2.20.0000.00717.73
8.2.10.0040.00417.95
8.2.00.0030.00617.69
8.1.270.0050.00318.88
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00622.21
8.1.230.0120.00022.74
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.00917.25
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0000.00720.70
8.1.160.0000.00719.05
8.1.150.0040.00418.82
8.1.140.0000.00717.26
8.1.130.0030.00717.75
8.1.120.0050.00317.38
8.1.110.0090.00017.45
8.1.100.0000.00717.43
8.1.90.0000.00717.34
8.1.80.0040.00417.35
8.1.70.0030.00317.34
8.1.60.0050.00417.41
8.1.50.0040.00417.43
8.1.40.0030.00617.46
8.1.30.0000.00817.55
8.1.20.0000.00717.57
8.1.10.0000.00717.33
8.1.00.0030.00617.35
8.0.300.0040.00419.62
8.0.290.0000.00716.63
8.0.280.0030.00318.36
8.0.270.0030.00317.20
8.0.260.0030.00317.18
8.0.250.0080.00016.76
8.0.240.0070.00016.94
8.0.230.0050.00316.80
8.0.220.0070.00016.86
8.0.210.0030.00316.83
8.0.200.0070.00016.82
8.0.190.0040.00416.93
8.0.180.0000.00716.84
8.0.170.0030.00316.88
8.0.160.0080.00016.90
8.0.150.0000.01016.78
8.0.140.0050.00216.83
8.0.130.0000.00613.25
8.0.120.0060.00316.80
8.0.110.0030.00316.82
8.0.100.0040.00416.89
8.0.90.0040.00416.71
8.0.80.0060.00916.79
8.0.70.0040.00316.70
8.0.60.0040.00416.74
8.0.50.0000.00716.87
8.0.30.0080.01316.93
8.0.20.0130.00617.40
8.0.10.0000.00716.79
8.0.00.0070.01116.81
7.4.330.0050.00015.09
7.4.320.0000.00616.43
7.4.300.0070.00016.55
7.4.290.0000.00816.54
7.4.280.0050.00316.34
7.4.270.0000.00716.56
7.4.260.0060.00316.54
7.4.250.0040.00416.46
7.4.240.0030.00316.56
7.4.230.0030.00316.34
7.4.220.0110.00716.49
7.4.210.0070.01416.57
7.4.200.0030.00616.33
7.4.160.0070.01016.63
7.4.150.0100.00717.40
7.4.140.0120.00417.86
7.4.130.0070.01116.46
7.4.120.0080.00816.43
7.4.110.0210.00016.32
7.4.100.0060.01516.21
7.4.90.0090.00916.42
7.4.80.0120.00919.39
7.4.70.0050.00316.26
7.4.60.0070.01016.43
7.4.50.0050.00316.45
7.4.40.0070.01016.42
7.4.30.0090.01116.42
7.4.00.0100.00714.74
7.3.330.0020.00213.02
7.3.320.0050.00012.96
7.3.310.0030.00316.11
7.3.300.0030.00316.14
7.3.290.0060.00816.13
7.3.280.0110.00716.14
7.3.270.0030.01317.40
7.3.260.0100.01016.14
7.3.250.0080.00916.28
7.3.240.0090.01416.29
7.3.230.0120.00416.39
7.3.210.0130.01216.14
7.3.200.0120.00619.39
7.3.190.0090.01316.50
7.3.180.0080.00816.12
7.3.170.0120.00616.52
7.3.160.0140.00316.13
7.2.330.0060.01216.22
7.2.320.0110.00816.63
7.2.310.0120.00916.55
7.2.300.0120.00416.44
7.2.290.0060.01316.52
7.2.60.0060.00616.54
7.2.00.0030.01019.31
7.1.200.0120.00015.62
7.1.100.0040.01217.97
7.1.70.0070.00717.21
7.1.60.0100.01319.22
7.1.50.0090.01216.41
7.1.00.0070.07322.36
7.0.200.0030.00716.62
7.0.140.0030.04322.10
7.0.60.0070.08319.92
7.0.50.0100.07717.85
7.0.40.0070.04720.40
7.0.30.0300.08020.16
7.0.20.0270.06320.33
7.0.10.0100.08320.24
7.0.00.0100.06720.23
5.6.280.0070.07021.07
5.6.210.0100.04020.62
5.6.200.0130.04318.22
5.6.190.0170.07720.77
5.6.180.0200.04720.41
5.6.170.0200.04720.51
5.6.160.0070.08020.63
5.6.150.0070.06718.15
5.6.140.0100.07718.12
5.6.130.0100.04018.11
5.6.120.0070.05720.98
5.6.110.0200.03321.12
5.6.100.0070.04321.02
5.6.90.0000.04320.94
5.6.80.0100.08320.50
5.5.350.0300.07020.41
5.5.340.0030.09018.00
5.5.330.0070.04320.40
5.5.320.0270.08020.34
5.5.310.0230.06020.20
5.5.300.0000.09017.95
5.5.290.0170.07017.94
5.5.280.0070.05320.87
5.5.270.0170.04720.87
5.5.260.0030.04320.66
5.5.250.0100.07320.46
5.5.240.0030.03020.27
5.4.450.0200.05719.63
5.4.440.0600.07019.66
5.4.430.0800.05719.51
5.4.420.0570.05719.55
5.4.410.0100.05319.04
5.4.400.0130.05319.25
5.4.390.0130.05319.09
5.4.380.0170.05718.61
5.4.370.0200.05018.49
5.4.360.0300.04318.70
5.4.350.0200.05318.72
5.4.340.0230.05318.53
5.4.320.0270.05018.52
5.4.310.0070.06318.49
5.4.300.0070.06318.74
5.4.290.0100.06018.65
5.4.280.0330.04018.73
5.4.270.0200.05018.69
5.4.260.0200.05018.70
5.4.250.0270.04718.69
5.4.240.0200.05318.52
5.4.230.0330.04018.71
5.4.220.0170.05718.57
5.4.210.0130.05718.66
5.4.200.0230.04716.46
5.4.190.0230.04718.66
5.4.180.0130.05718.51
5.4.170.0230.05018.61
5.4.160.0170.05318.54
5.4.150.0100.06318.47
5.4.140.0170.05016.32
5.4.130.0230.04716.23
5.4.120.0300.04016.23
5.4.110.0230.04316.08
5.4.100.0170.05016.09
5.4.90.0130.06016.14
5.4.80.0170.05016.16
5.4.70.0170.05316.11
5.4.60.0200.05016.30
5.4.50.0170.05016.32
5.4.40.0270.04716.32
5.4.30.0130.05016.32
5.4.20.0230.04716.16
5.4.10.0200.04716.29
5.4.00.0330.03715.77
5.3.290.0230.06014.72
5.3.280.0170.05714.49
5.3.270.0200.05314.52
5.3.260.0270.04714.64
5.3.250.0170.05014.59
5.3.240.0170.06314.59
5.3.230.0170.05714.57
5.3.220.0230.05314.48
5.3.210.0130.05714.60
5.3.200.0070.06314.50
5.3.190.0130.06014.54
5.3.180.0270.04714.50
5.3.170.0100.06014.55
5.3.160.0200.05314.54
5.3.150.0130.05714.61
5.3.140.0170.05014.47
5.3.130.0230.06714.64
5.3.120.0270.04314.52
5.3.110.0100.06014.64
5.3.100.0270.04314.00
5.3.90.0130.05314.07
5.3.80.0230.04713.93
5.3.70.0200.05714.11
5.3.60.0200.05013.93
5.3.50.0230.06013.91
5.3.40.0170.05013.94
5.3.30.0100.05313.84
5.3.20.0230.05313.69
5.3.10.0170.05013.64
5.3.00.0200.07013.63
5.2.170.0230.05011.12
5.2.160.0100.04711.12
5.2.150.0070.04711.20
5.2.140.0200.03311.11
5.2.130.0230.03011.05
5.2.120.0100.04311.23
5.2.110.0100.04311.09
5.2.100.0030.04711.26
5.2.90.0230.04711.07
5.2.80.0130.04011.10
5.2.70.0200.05311.14
5.2.60.0200.03310.97
5.2.50.0170.04310.99
5.2.40.0070.04310.92
5.2.30.0130.04011.04
5.2.20.0130.04710.87
5.2.10.0170.04010.99
5.2.00.0070.04710.67
5.1.60.0130.03010.01
5.1.50.0170.0409.97
5.1.40.0030.04010.11
5.1.30.0100.03710.39
5.1.20.0170.03010.41
5.1.10.0170.04010.13
5.1.00.0100.03310.18
5.0.50.0100.0278.66
5.0.40.0070.0278.46
5.0.30.0070.0438.28
5.0.20.0100.0338.32
5.0.10.0100.0278.14
5.0.00.0130.0338.18
4.4.90.0070.0236.63
4.4.80.0030.0236.63
4.4.70.0070.0236.63
4.4.60.0170.0176.63
4.4.50.0070.0236.63
4.4.40.0070.0436.63
4.4.30.0070.0276.63
4.4.20.0100.0206.63
4.4.10.0130.0176.63
4.4.00.0100.0306.63
4.3.110.0170.0136.63
4.3.100.0100.0176.63
4.3.90.0030.0236.63
4.3.80.0070.0376.63
4.3.70.0030.0236.63
4.3.60.0130.0136.63
4.3.50.0000.0276.63
4.3.40.0070.0336.63
4.3.30.0070.0206.63
4.3.20.0000.0276.63
4.3.10.0100.0176.63
4.3.00.0000.0237.59

preferences:
52.73 ms | 400 KiB | 5 Q