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.0040.01516.63
8.3.50.0090.00921.93
8.3.40.0040.01118.70
8.3.30.0110.00418.67
8.3.20.0050.00320.20
8.3.10.0060.00323.41
8.3.00.0050.00319.13
8.2.180.0120.00318.42
8.2.170.0100.00322.96
8.2.160.0070.00722.14
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00717.63
8.2.120.0040.00426.35
8.2.110.0030.00622.10
8.2.100.0040.00817.80
8.2.90.0040.00419.17
8.2.80.0000.00917.97
8.2.70.0000.00817.50
8.2.60.0000.00718.04
8.2.50.0000.00918.07
8.2.40.0060.00319.38
8.2.30.0000.00720.50
8.2.20.0090.00017.70
8.2.10.0000.00818.06
8.2.00.0000.00717.93
8.1.280.0110.00325.92
8.1.270.0060.00322.18
8.1.260.0000.00728.09
8.1.250.0070.00028.09
8.1.240.0000.00922.42
8.1.230.0050.01017.54
8.1.220.0080.00017.74
8.1.210.0030.00718.77
8.1.200.0030.00617.23
8.1.190.0040.00417.11
8.1.180.0000.00818.10
8.1.170.0070.00318.50
8.1.160.0000.00721.89
8.1.150.0030.00418.70
8.1.140.0030.00619.38
8.1.130.0000.00717.55
8.1.120.0030.00517.29
8.1.110.0040.00417.36
8.1.100.0080.00017.35
8.1.90.0050.00217.45
8.1.80.0000.00817.32
8.1.70.0000.00717.37
8.1.60.0050.00317.48
8.1.50.0000.00817.41
8.1.40.0030.00517.34
8.1.30.0040.00417.50
8.1.20.0050.00317.49
8.1.10.0050.00317.41
8.1.00.0030.00617.40
8.0.300.0000.00818.77
8.0.290.0000.00716.75
8.0.280.0000.00718.38
8.0.270.0060.00317.11
8.0.260.0060.00017.13
8.0.250.0000.00716.86
8.0.240.0000.00816.90
8.0.230.0070.00016.98
8.0.220.0070.00016.90
8.0.210.0030.00516.86
8.0.200.0030.00316.95
8.0.190.0000.00716.94
8.0.180.0040.00416.83
8.0.170.0030.00516.80
8.0.160.0030.00316.79
8.0.150.0000.00716.73
8.0.140.0000.00716.78
8.0.130.0000.00513.36
8.0.120.0030.00516.89
8.0.110.0040.00416.86
8.0.100.0050.00216.75
8.0.90.0040.00316.89
8.0.80.0160.00616.93
8.0.70.0070.00016.93
8.0.60.0040.00416.84
8.0.50.0000.00916.71
8.0.30.0090.01116.96
8.0.20.0110.01217.40
8.0.10.0000.00716.96
8.0.00.0100.00816.81
7.4.330.0000.00515.08
7.4.320.0000.00616.39
7.4.300.0060.00016.45
7.4.290.0030.00316.54
7.4.280.0060.00316.57
7.4.270.0040.00416.46
7.4.260.0070.00016.51
7.4.250.0030.00516.52
7.4.240.0020.00516.48
7.4.230.0080.00016.24
7.4.220.0000.01916.56
7.4.210.0000.01416.48
7.4.200.0000.00716.53
7.4.160.0040.01516.54
7.4.150.0070.01117.40
7.4.140.0080.01317.86
7.4.130.0090.01116.35
7.4.120.0090.00816.51
7.4.110.0070.01016.34
7.4.100.0090.00916.33
7.4.90.0120.00416.59
7.4.80.0090.00919.39
7.4.70.0090.00616.49
7.4.60.0090.00616.27
7.4.50.0040.00416.36
7.4.40.0050.01316.40
7.4.30.0070.01016.45
7.4.00.0090.00814.84
7.3.330.0030.00313.05
7.3.320.0030.00312.94
7.3.310.0030.00315.97
7.3.300.0040.00216.22
7.3.290.0090.00616.23
7.3.280.0040.01016.17
7.3.270.0070.01117.40
7.3.260.0060.01016.45
7.3.250.0150.00616.36
7.3.240.0100.00916.37
7.3.230.0090.00916.39
7.3.210.0130.00716.25
7.3.200.0160.00616.18
7.3.190.0100.00716.18
7.3.180.0130.00316.13
7.3.170.0140.00716.27
7.3.160.0030.01316.24
7.3.120.0090.00914.67
7.3.110.0070.01014.80
7.3.100.0030.01514.54
7.3.90.0110.00314.72
7.3.80.0060.01114.71
7.3.70.0050.00814.65
7.3.60.0050.00914.61
7.3.50.0030.00614.78
7.3.40.0070.00814.76
7.3.30.0090.00614.61
7.3.20.0020.01216.34
7.3.10.0110.00316.63
7.3.00.0040.00816.59
7.2.330.0090.01216.46
7.2.320.0030.01416.55
7.2.310.0100.01216.51
7.2.300.0070.01116.33
7.2.290.0110.01116.42
7.2.250.0030.01414.70
7.2.240.0070.01215.16
7.2.230.0050.01014.77
7.2.220.0050.00914.94
7.2.210.0090.00714.86
7.2.200.0030.01114.75
7.2.190.0070.00814.91
7.2.180.0060.00714.94
7.2.170.0050.01014.64
7.2.160.0030.01014.81
7.2.150.0060.01016.83
7.2.140.0100.00316.43
7.2.130.0080.00516.77
7.2.120.0050.00916.62
7.2.110.0060.00616.86
7.2.100.0040.01316.69
7.2.90.0030.01116.69
7.2.80.0020.00916.76
7.2.70.0020.01016.58
7.2.60.0030.00716.50
7.2.50.0070.00716.60
7.2.40.0060.00616.70
7.2.30.0050.01016.89
7.2.20.0070.01016.76
7.2.10.0040.00616.77
7.2.00.0070.00617.63
7.1.330.0030.01315.42
7.1.320.0050.01015.82
7.1.310.0020.01215.57
7.1.300.0040.01015.61
7.1.290.0030.00915.70
7.1.280.0070.00615.68
7.1.270.0000.01215.58
7.1.260.0060.00615.69
7.1.250.0050.00815.66
7.1.240.0100.00515.64
7.1.230.0030.00715.84
7.1.220.0080.00715.62
7.1.210.0050.00715.80
7.1.200.0030.00615.72
7.1.190.0060.00515.80
7.1.180.0030.01015.69
7.1.170.0030.00815.60
7.1.160.0040.00715.65
7.1.150.0070.00515.81
7.1.140.0070.00415.64
7.1.130.0120.00015.73
7.1.120.0050.00715.65
7.1.110.0050.00515.63
7.1.100.0060.00716.56
7.1.90.0070.00315.80
7.1.80.0030.00815.67
7.1.70.0040.00616.03
7.1.60.0050.01116.97
7.1.50.0010.01616.01
7.1.40.0020.01015.72
7.1.30.0070.00515.76
7.1.20.0030.00615.66
7.1.10.0040.00815.79
7.1.00.0030.02917.91
7.0.330.0060.00515.17
7.0.320.0040.00815.22
7.0.310.0040.00915.29
7.0.300.0050.00715.26
7.0.290.0040.00715.31
7.0.280.0080.00515.21
7.0.270.0070.00715.17
7.0.260.0060.00515.25
7.0.250.0060.00615.27
7.0.240.0070.00515.33
7.0.230.0040.00715.29
7.0.220.0040.00715.27
7.0.210.0040.00715.23
7.0.200.0010.00915.84
7.0.190.0050.00615.30
7.0.180.0030.01015.36
7.0.170.0030.00615.29
7.0.160.0020.00815.28
7.0.150.0050.00515.47
7.0.140.0020.01015.32
7.0.130.0030.00615.41
7.0.120.0080.00515.44
7.0.110.0060.00615.33
7.0.100.0030.01315.37
7.0.90.0070.00615.34
7.0.80.0050.00715.29
7.0.70.0020.01315.25
7.0.60.0050.02716.86
7.0.50.0060.02616.21
7.0.40.0040.03015.71
7.0.30.0100.03115.77
7.0.20.0120.02115.74
7.0.10.0030.02615.69
7.0.00.0110.02515.71
5.6.400.0110.00014.18
5.6.390.0050.00513.86
5.6.380.0030.00913.84
5.6.370.0060.00514.35
5.6.360.0080.00714.30
5.6.350.0020.00914.42
5.6.340.0080.00414.12
5.6.330.0020.01214.23
5.6.320.0070.00614.26
5.6.310.0040.00614.25
5.6.300.0070.00414.18
5.6.290.0020.01014.17
5.6.280.0040.02116.57
5.6.270.0050.00814.09
5.6.260.0030.01014.18
5.6.250.0030.01013.95
5.6.240.0040.00814.09
5.6.230.0050.00914.09
5.6.220.0070.00613.99
5.6.210.0070.03116.34
5.6.200.0020.03415.47
5.6.190.0040.03316.28
5.6.180.0120.03016.27
5.6.170.0140.02916.16
5.6.160.0030.03116.18
5.6.150.0020.02315.45
5.6.140.0070.02115.56
5.6.130.0100.02915.50
5.6.120.0110.02816.53
5.6.110.0060.02816.40
5.6.100.0030.02616.48
5.6.90.0070.02516.54
5.6.80.0050.01816.08
5.6.70.0000.01114.07
5.6.60.0030.01013.98
5.6.50.0030.01113.96
5.6.40.0060.00614.10
5.6.30.0030.00914.21
5.6.20.0080.00314.21
5.6.10.0070.00614.12
5.6.00.0030.00914.00
5.5.380.0030.01012.44
5.5.370.0050.00712.60
5.5.360.0060.00312.24
5.5.350.1480.01615.20
5.5.340.0100.02414.21
5.5.330.0040.03115.22
5.5.320.0090.03015.17
5.5.310.0110.03014.99
5.5.300.0070.02714.30
5.5.290.0020.02614.29
5.5.280.0010.02215.26
5.5.270.0060.03215.30
5.5.260.0080.03115.07
5.5.250.0070.02915.14
5.5.240.0150.02114.94
5.5.230.0000.00812.29
5.5.220.0090.00312.37
5.5.210.0000.01212.31
5.5.200.0040.00712.43
5.5.190.0060.00512.16
5.5.180.0020.00812.54
5.5.170.0060.00912.30
5.5.160.0050.00512.58
5.5.150.0040.00512.51
5.5.140.0060.00412.42
5.5.130.0030.00712.39
5.5.120.0040.00712.51
5.5.110.0030.00612.34
5.5.100.0020.00712.39
5.5.90.0090.00212.33
5.5.80.0050.00612.49
5.5.70.0040.00812.45
5.5.60.0060.00612.31
5.5.50.0070.00512.25
5.5.40.0050.00712.13
5.5.30.0030.00712.41
5.5.20.0040.00812.61
5.5.10.0040.00512.44
5.5.00.0080.00312.45

preferences:
36.42 ms | 401 KiB | 5 Q