3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = json_decode(<<<'JSON' [ { TagId: 2, ParentTagId: null, Name: "women" }, { TagId: 5, ParentTagId: 2, Name: "bottom" }, { TagId: 4, ParentTagId: 2, Name: "top" }, { TagId: 7, ParentTagId: 4, Name: "shirt" }, { TagId: 8, ParentTagId: 4, Name: "tshirt" }, { TagId: 12, ParentTagId: 7, Name: "longsleeve" }, { TagId: 16, ParentTagId: null, Name: "men" } ] JSON ); var_dump($list);

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.0070.01116.38
8.3.50.0030.01418.05
8.3.40.0040.01118.70
8.3.30.0110.00418.76
8.3.20.0000.00820.39
8.3.10.0000.00723.50
8.3.00.0040.00419.26
8.2.180.0060.00918.06
8.2.170.0130.00022.96
8.2.160.0100.00322.27
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00617.38
8.2.120.0080.00026.35
8.2.110.0060.00320.47
8.2.100.0090.00317.80
8.2.90.0090.00019.18
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0020.00517.80
8.2.50.0030.00518.07
8.2.40.0050.00219.38
8.2.30.0000.00720.50
8.2.20.0090.00017.55
8.2.10.0030.00517.91
8.2.00.0080.00017.98
8.1.280.0070.01025.92
8.1.270.0000.00821.94
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00322.45
8.1.230.0150.00317.55
8.1.220.0060.00317.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0040.00417.11
8.1.180.0070.00018.10
8.1.170.0070.00318.50
8.1.160.0050.00321.87
8.1.150.0000.00718.82
8.1.140.0030.00519.56
8.1.130.0030.00317.68
8.1.120.0000.00717.29
8.1.110.0070.00017.41
8.1.100.0050.00317.38
8.1.90.0000.00817.36
8.1.80.0040.00417.39
8.1.70.0030.00317.25
8.1.60.0040.00417.54
8.1.50.0080.00017.46
8.1.40.0000.00817.44
8.1.30.0040.00417.59
8.1.20.0060.00317.59
8.1.10.0040.00417.41
8.1.00.0060.00317.31
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.43
8.0.270.0000.01017.05
8.0.260.0000.00617.20
8.0.250.0050.00316.84
8.0.240.0030.00316.95
8.0.230.0000.00716.94
8.0.220.0030.00316.89
8.0.210.0070.00016.90
8.0.200.0030.00316.96
8.0.190.0040.00416.89
8.0.180.0040.00416.87
8.0.170.0050.00316.83
8.0.160.0070.00016.92
8.0.150.0000.00816.81
8.0.140.0040.00416.80
8.0.130.0000.00613.36
8.0.120.0000.00816.75
8.0.110.0050.00316.96
8.0.100.0070.00016.75
8.0.90.0070.00016.79
8.0.80.0040.01216.94
8.0.70.0000.00816.92
8.0.60.0000.00716.87
8.0.50.0000.01016.74
8.0.30.0090.01117.14
8.0.20.0140.00917.40
8.0.10.0040.00416.87
8.0.00.0130.00616.71
7.4.330.0000.00515.08
7.4.320.0060.00016.37
7.4.300.0000.00616.52
7.4.290.0070.00016.60
7.4.280.0070.00016.34
7.4.270.0040.00416.46
7.4.260.0000.00616.57
7.4.250.0000.00816.33
7.4.240.0030.00316.43
7.4.230.0040.00416.54
7.4.220.0110.00716.36
7.4.210.0070.00716.49
7.4.200.0080.00016.52
7.4.160.0070.01416.30
7.4.150.0150.00317.40
7.4.140.0100.01217.86
7.4.130.0080.00916.49
7.4.120.0130.00416.42
7.4.110.0100.01316.46
7.4.100.0070.01016.25
7.4.90.0070.01016.40
7.4.80.0000.01719.39
7.4.70.0120.00316.33
7.4.60.0090.00616.50
7.4.50.0000.00816.32
7.4.40.0110.00716.61
7.4.30.0180.00016.53
7.4.00.0120.00614.85
7.3.330.0030.00312.94
7.3.320.0030.00313.05
7.3.310.0030.00316.18
7.3.300.0070.00016.25
7.3.290.0090.00616.19
7.3.280.0070.01316.22
7.3.270.0060.01217.40
7.3.260.0130.00316.18
7.3.250.0090.00816.23
7.3.240.0130.00716.24
7.3.230.0120.00916.39
7.3.210.0070.01316.45
7.3.200.0070.01016.23
7.3.190.0090.01216.27
7.3.180.0160.00016.27
7.3.170.0140.00716.27
7.3.160.0100.00616.34
7.2.330.0170.00316.44
7.2.320.0070.01116.30
7.2.310.0090.01216.49
7.2.300.0070.01316.57
7.2.290.0120.00616.64
7.2.80.0030.00816.61
7.2.60.0120.00316.54
7.2.00.0030.00919.30
7.1.200.0150.01515.18
7.1.100.0000.01618.00
7.1.70.0070.00317.16
7.1.60.0070.01819.48
7.1.50.0030.01616.50
7.1.00.0000.08022.38
7.0.200.0030.00716.79
7.0.60.0130.07019.93
7.0.50.0130.07317.82
7.0.40.0000.05020.30
7.0.30.0030.05320.06
7.0.20.0270.04320.33
7.0.10.0100.08720.14
7.0.00.0070.08720.31
5.6.280.0070.04021.04
5.6.210.0000.07720.63
5.6.200.0070.09018.18
5.6.190.0070.08320.27
5.6.180.0200.08320.45
5.6.170.0330.05320.50
5.6.160.0070.08320.49
5.6.150.0070.06018.12
5.6.140.0000.04018.23
5.6.130.0030.04018.16
5.6.120.0070.03720.95
5.6.110.0030.06320.89
5.6.100.0070.08721.00
5.6.90.0130.05720.98
5.6.80.0030.08020.40
5.5.350.3700.04720.38
5.5.340.0100.07717.91
5.5.330.0130.06020.21
5.5.320.0200.05020.51
5.5.310.0300.07320.13
5.5.300.0130.07017.92
5.5.290.0030.08317.91
5.5.280.0070.06720.89
5.5.270.0000.05720.95
5.5.260.0070.03720.79
5.5.250.0100.07720.69
5.5.240.0330.07020.25

preferences:
46.85 ms | 400 KiB | 5 Q