3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface TypedDataInterface { public function getValue(); } interface FieldItemListInterface extends TypedDataInterface {} trait ComputedItemListTrait { public function getValue($include_computed = FALSE) {} } class FieldItemList implements FieldItemListInterface { public function getValue($include_computed = FALSE) {} } class CustomTypedData implements TypedDataInterface { use ComputedItemListTrait; } class CustomFieldItemList extends FieldItemList { use ComputedItemListTrait; }

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.0030.01716.63
8.3.50.0110.00416.35
8.3.40.0160.00318.84
8.3.30.0080.00818.41
8.3.20.0000.00720.21
8.3.10.0080.00023.66
8.3.00.0000.00823.66
8.2.180.0150.00716.38
8.2.170.0150.00622.96
8.2.160.0040.01120.38
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0020.00520.57
8.2.120.0040.00426.35
8.2.110.0060.00322.01
8.2.100.0080.00417.78
8.2.90.0030.00519.08
8.2.80.0050.00319.40
8.2.70.0080.00017.50
8.2.60.0040.00417.93
8.2.50.0070.00018.10
8.2.40.0070.00020.58
8.2.30.0040.00419.06
8.2.20.0030.00618.05
8.2.10.0050.00317.99
8.2.00.0040.00417.99
8.1.280.0100.01025.92
8.1.270.0000.00723.99
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0030.00623.92
8.1.230.0100.00017.64
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.13
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0080.00018.63
8.1.160.0060.00318.86
8.1.150.0040.00420.57
8.1.140.0000.00817.56
8.1.130.0080.00018.80
8.1.120.0000.00717.44
8.1.110.0050.00217.35
8.1.100.0000.00717.38
8.1.90.0070.00017.36
8.1.80.0030.00517.38
8.1.70.0000.00717.38
8.1.60.0030.00617.42
8.1.50.0030.00717.43
8.1.40.0000.00817.30
8.1.30.0000.00817.54
8.1.20.0080.00017.62
8.1.10.0050.00217.35
8.1.00.0000.00717.31
8.0.300.0030.00518.77
8.0.290.0090.00016.58
8.0.280.0070.00018.36
8.0.270.0090.00017.12
8.0.260.0090.00018.72
8.0.250.0040.00416.88
8.0.240.0060.00316.78
8.0.230.0070.00016.77
8.0.220.0030.00316.85
8.0.210.0030.00316.67
8.0.200.0070.00016.76
8.0.190.0040.00416.87
8.0.180.0000.00816.90
8.0.170.0040.00316.80
8.0.160.0030.00416.71
8.0.150.0070.00016.66
8.0.140.0030.00516.81
8.0.130.0000.00613.22
8.0.120.0000.00816.83
8.0.110.0070.00016.63
8.0.100.0000.00716.67
8.0.90.0000.00716.62
8.0.80.0120.00316.88
8.0.70.0040.00416.81
8.0.60.0040.00416.87
8.0.50.0070.00016.60
8.0.30.0110.00816.99
8.0.20.0130.00717.40
8.0.10.0040.00416.87
8.0.00.0160.00816.62
7.4.330.0000.00615.55
7.4.320.0060.00016.54
7.4.300.0060.00016.48
7.4.290.0030.00716.42
7.4.280.0070.00016.52
7.4.270.0000.00716.34
7.4.260.0030.00316.43
7.4.250.0030.00316.50
7.4.240.0000.00816.46
7.4.230.0030.00316.59
7.4.220.0070.01816.46
7.4.210.0080.00716.52
7.4.200.0000.00716.43
7.4.160.0020.01516.35
7.4.150.0140.00417.40
7.4.140.0100.00817.86
7.4.130.0070.01616.32
7.4.120.0090.01016.44
7.4.110.0130.00316.54
7.4.100.0130.00316.35
7.4.90.0100.01016.44
7.4.80.0060.01019.39
7.4.70.0070.01016.38
7.4.60.0070.01116.24
7.4.50.0090.00616.22
7.4.40.0140.00316.50
7.4.30.0090.00616.62
7.4.10.0040.01414.98
7.4.00.0090.00714.76
7.3.330.0030.00313.26
7.3.320.0060.00013.19
7.3.310.0000.00716.14
7.3.300.0000.00616.20
7.3.290.0070.00016.21
7.3.280.0070.00916.22
7.3.270.0070.01117.40
7.3.260.0140.00816.29
7.3.250.0130.00716.34
7.3.240.0100.00916.32
7.3.230.0070.01016.53
7.3.210.0070.01116.26
7.3.200.0110.00516.22
7.3.190.0060.01016.54
7.3.180.0090.00616.45
7.3.170.0030.01216.57
7.3.160.0100.01316.64
7.3.130.0070.01114.76
7.3.120.0050.01214.70
7.3.110.0130.00514.83
7.3.100.0030.01014.61
7.3.90.0050.00914.64
7.3.80.0030.01214.80
7.3.70.0040.00714.84
7.3.60.0040.00714.65
7.3.50.0070.00914.85
7.3.40.0080.00714.60
7.3.30.0030.00714.71
7.3.20.0040.01116.45
7.3.10.0050.01016.48
7.3.00.0070.00916.57
7.2.330.0120.00916.66
7.2.320.0060.01216.44
7.2.310.0070.01016.43
7.2.300.0100.00616.30
7.2.290.0150.00616.62
7.2.260.0070.01014.77
7.2.250.0100.00714.93
7.2.240.0030.01314.85
7.2.230.0060.00914.52
7.2.220.0020.00914.90
7.2.210.0010.01214.88
7.2.200.0060.00814.90
7.2.190.0050.00614.77
7.2.180.0060.00814.81
7.2.170.0020.01114.79
7.2.160.0030.01614.65
7.2.150.0090.00316.70
7.2.140.0090.00616.77
7.2.130.0050.00916.46
7.2.120.0050.01016.70
7.2.110.0050.01216.47
7.2.100.0030.01116.53
7.2.90.0050.00816.60
7.2.80.0090.00716.64
7.2.70.0050.00916.69
7.2.60.0080.00516.54
7.2.50.0050.01216.74
7.2.40.0100.00716.62
7.2.30.0070.00816.58
7.2.20.0070.00916.54
7.2.10.0040.00816.50
7.2.00.0050.00716.71
7.1.330.0050.00915.43
7.1.320.0030.00815.62
7.1.310.0060.00815.63
7.1.300.0050.00815.66
7.1.290.0070.00315.69
7.1.280.0050.00715.65
7.1.270.0030.01115.61
7.1.260.0050.00715.72
7.1.250.0000.01215.47
7.1.240.0000.01015.59
7.1.230.0090.00315.80
7.1.220.0070.00715.73
7.1.210.0060.00315.74
7.1.200.0050.00615.67
7.1.190.0040.01115.27
7.1.180.0030.00615.75
7.1.170.0000.01015.74
7.1.160.0030.01015.38
7.1.150.0130.00315.74
7.1.140.0050.00515.77
7.1.130.0100.00315.70
7.1.120.0070.00315.61
7.1.110.0170.00315.91
7.1.100.0120.00716.00
7.1.90.0160.00615.69
7.1.80.0130.01015.83
7.1.70.0130.00915.49
7.1.60.0180.00924.27
7.1.50.0110.01424.26
7.1.40.0190.00823.97
7.1.30.0180.01024.11
7.1.20.0250.00724.12
7.1.10.0140.00815.16
7.1.00.0140.01015.27
7.0.330.0040.00415.33
7.0.320.0040.00815.39
7.0.310.0120.00015.22
7.0.300.0030.00915.39
7.0.290.0030.00515.28
7.0.280.0030.00915.18
7.0.270.0030.00714.99
7.0.260.0130.00015.10
7.0.250.0110.00815.52
7.0.240.0100.00915.43
7.0.230.0140.00715.37
7.0.220.0160.00615.60
7.0.210.0120.00814.86
7.0.200.0160.00514.83
7.0.190.0130.00415.07
7.0.180.0130.00714.63
7.0.170.0140.00914.74
7.0.160.0140.00914.77
7.0.150.0160.00714.70
7.0.140.0120.01114.82
7.0.130.0090.01214.96
7.0.120.0180.00615.04
7.0.110.0110.01214.90
7.0.100.0150.01014.82
7.0.90.0190.01214.75
7.0.80.0190.00814.84
7.0.70.0150.00814.87
7.0.60.0130.00614.85
7.0.50.0500.00814.91
7.0.40.0140.00613.88
7.0.30.0120.00714.00
7.0.20.0160.00813.85
7.0.10.0140.00913.93
7.0.00.0170.00513.97
5.6.400.0060.00914.29
5.6.390.0030.00614.27
5.6.380.0030.00614.45
5.6.370.0030.00714.08
5.6.360.0040.01114.06
5.6.350.0070.00314.55
5.6.340.0060.00914.54
5.6.330.0060.00914.07
5.6.320.0090.00414.41
5.6.310.0050.00514.02
5.6.300.0110.00314.28
5.6.290.0070.00714.02
5.6.280.0060.00314.13
5.6.270.0030.01614.32
5.6.260.0070.01114.47
5.6.250.0040.01414.26
5.6.240.0080.00614.24
5.6.230.0030.01013.97
5.6.220.0120.00314.16
5.6.210.0090.00614.21
5.6.200.0100.00314.29
5.6.190.0040.00714.22
5.6.180.0070.00314.10
5.6.170.0110.00414.31
5.6.160.0030.01414.16
5.6.150.0000.01513.98
5.6.140.0070.00714.27
5.6.130.0030.01314.23
5.6.120.0130.00314.48
5.6.110.0090.00614.14
5.6.100.0030.01014.24
5.6.90.0060.00613.90
5.6.80.0030.01314.19
5.6.70.0000.01214.12
5.6.60.0060.00614.41
5.6.50.0080.00314.23
5.6.40.0000.01013.89
5.6.30.0130.00014.27
5.6.20.0070.00714.03
5.6.10.0090.00314.36
5.6.00.0030.00713.96

preferences:
50.63 ms | 400 KiB | 5 Q