3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Interfaces; interface FeelingsInterface { } namespace \Std; class Human { } class Animal { } class Person extends Human implements Interfaces\FeelingsInterface { } class Dog extends Animal implements Interfaces\FeelingsInterface { } $me = new Person(); $dog = new Dog(); var_dump(class_implements($me)); var_dump(class_implements($dog));

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.70.0140.00316.62
8.3.60.0170.00318.30
8.3.50.0130.00321.02
8.3.40.0040.01118.76
8.3.30.0100.00320.40
8.3.20.0080.00020.25
8.3.10.0040.00421.09
8.3.00.0050.00322.59
8.2.180.0140.00716.63
8.2.170.0060.00922.96
8.2.160.0070.00722.09
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0080.00020.59
8.2.110.0040.00419.41
8.2.100.0120.00017.91
8.2.90.0040.00419.09
8.2.80.0000.00717.97
8.2.70.0000.00817.38
8.2.60.0030.00617.68
8.2.50.0030.00518.07
8.2.40.0000.00818.21
8.2.30.0000.00719.39
8.2.20.0000.00717.55
8.2.10.0080.00017.48
8.2.00.0000.00817.58
8.1.280.0130.01325.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.83
8.1.230.0070.00420.86
8.1.220.0040.00418.77
8.1.210.0070.00418.86
8.1.200.0060.00317.23
8.1.190.0060.00317.28
8.1.180.0080.00018.10
8.1.170.0040.00418.49
8.1.160.0040.00418.66
8.1.150.0080.00018.42
8.1.140.0050.00217.34
8.1.130.0030.00317.66
8.1.120.0070.00017.32
8.1.110.0040.00417.21
8.1.100.0000.00717.23
8.1.90.0030.00317.20
8.1.80.0070.00017.29
8.1.70.0030.00317.34
8.1.60.0040.00417.31
8.1.50.0040.00417.44
8.1.40.0070.00017.40
8.1.30.0040.00417.37
8.1.20.0050.00317.50
8.1.10.0050.00317.49
8.1.00.0050.00217.43
8.0.300.0040.00419.73
8.0.290.0000.00817.04
8.0.280.0050.00218.43
8.0.270.0040.00417.11
8.0.260.0030.00318.36
8.0.250.0000.00716.90
8.0.240.0040.00416.83
8.0.230.0000.00916.81
8.0.220.0000.00716.88
8.0.210.0000.00716.74
8.0.200.0060.00016.82
8.0.190.0030.00616.90
8.0.180.0040.00416.91
8.0.170.0000.00716.89
8.0.160.0030.00316.88
8.0.150.0030.00316.70
8.0.140.0100.00016.87
8.0.130.0000.00713.32
8.0.120.0060.00316.86
8.0.110.0000.00716.71
8.0.100.0030.00516.93
8.0.90.0020.00516.98
8.0.80.0110.00416.90
8.0.70.0000.00716.72
8.0.60.0000.00716.76
8.0.50.0050.00216.79
8.0.30.0080.01116.96
8.0.20.0100.01217.40
8.0.10.0050.00216.89
8.0.00.0070.01016.57
7.4.330.0050.00016.79
7.4.320.0060.00016.42
7.4.300.0000.00616.54
7.4.290.0030.00316.58
7.4.280.0000.00716.52
7.4.270.0030.00316.46
7.4.260.0030.00313.22
7.4.250.0030.00616.41
7.4.240.0050.00216.46
7.4.230.0000.00716.56
7.4.220.0150.00916.45
7.4.210.0060.00816.53
7.4.200.0030.00316.23
7.4.190.0000.00716.69
7.4.160.0150.00416.44
7.4.150.0070.01117.40
7.4.140.0030.01317.86
7.4.130.0090.00816.52
7.4.120.0080.01116.38
7.4.110.0040.01316.44
7.4.100.0090.01016.64
7.4.90.0030.01516.55
7.4.80.0100.00619.39
7.4.70.0060.01016.51
7.4.60.0190.00316.55
7.4.50.0040.00416.25
7.4.40.0030.01222.77
7.4.30.0110.00616.47
7.4.00.0140.00314.86
7.3.330.0030.00313.28
7.3.320.0000.00513.26
7.3.310.0000.00716.20
7.3.300.0030.00316.32
7.3.290.0080.00816.33
7.3.280.0090.00516.30
7.3.270.0030.01417.40
7.3.260.0100.00718.24
7.3.250.0110.00716.36
7.3.240.0140.00416.38
7.3.230.0140.00316.43
7.3.210.0060.01216.44
7.3.200.0120.00619.39
7.3.190.0090.00916.51
7.3.180.0060.01516.38
7.3.170.0090.00616.58
7.3.160.0120.00916.34
7.3.120.0100.00314.84
7.3.10.0100.00616.64
7.3.00.0040.00716.46
7.2.330.0130.01016.64
7.2.320.0070.01016.32
7.2.310.0110.00716.70
7.2.300.0090.00916.56
7.2.290.0100.00716.68
7.2.130.0090.00316.73
7.2.120.0050.00716.68
7.2.110.0050.00816.63
7.2.100.0030.00916.74
7.2.90.0100.00416.88
7.2.80.0090.00916.69
7.2.70.0090.00916.81
7.2.60.0100.00616.82
7.2.50.0070.00916.85
7.2.40.0080.00516.79
7.2.30.0050.00916.94
7.2.20.0050.01016.82
7.2.10.0030.01016.81
7.2.00.0010.01317.69
7.1.250.0000.01215.74
7.1.240.0070.00315.69
7.1.230.0030.01015.46
7.1.220.0060.00315.75
7.1.210.0060.00915.60
7.1.200.0030.00715.37
7.1.190.0110.00015.64
7.1.180.0090.00615.65
7.1.170.0070.00315.68
7.1.160.0060.00615.59
7.1.150.0060.00915.50
7.1.140.0060.00315.67
7.1.130.0000.01115.58
7.1.120.0040.00815.48
7.1.110.0070.00715.45
7.1.100.0060.00616.80
7.1.90.0040.00415.77
7.1.80.0060.00615.60
7.1.70.0050.00516.29
7.1.60.0050.00717.46
7.1.50.0050.01016.29
7.1.40.0000.00715.73
7.1.30.0040.00715.67
7.1.20.0090.00615.72
7.1.10.0070.00315.57
7.1.00.0020.02219.09
7.0.330.0030.00915.30
7.0.320.0050.00315.49
7.0.310.0100.00315.23
7.0.300.0070.00315.12
7.0.290.0070.00015.22
7.0.280.0040.00415.23
7.0.270.0090.00015.35
7.0.260.0000.01015.24
7.0.250.0000.00914.97
7.0.240.0030.00714.91
7.0.230.0000.01015.33
7.0.220.0070.00315.14
7.0.210.0030.00715.47
7.0.200.0120.00714.94
7.0.190.0030.00515.17
7.0.180.0060.00315.36
7.0.170.0050.00515.45
7.0.160.0030.00914.93
7.0.150.0030.00615.17
7.0.140.0050.04018.68
7.0.130.0070.00315.16
7.0.120.0090.00615.27
7.0.110.0000.01415.29
7.0.100.0150.02217.60
7.0.90.0200.02317.59
7.0.80.0180.02617.47
7.0.70.0240.02217.63
7.0.60.0180.03617.62
7.0.50.0070.04917.81
7.0.40.0050.03916.76
7.0.30.0020.02716.63
7.0.20.0020.05916.64
7.0.10.0050.02216.72
7.0.00.0050.04416.75
5.6.380.0100.00314.34
5.6.370.0040.00914.39
5.6.360.0030.00714.38
5.6.350.0040.00714.23
5.6.340.0030.01014.45
5.6.330.0000.01314.18
5.6.320.0030.00913.88
5.6.310.0070.00714.38
5.6.300.0090.00614.20
5.6.290.0080.00414.18
5.6.280.0100.03417.53
5.6.270.0100.00314.05
5.6.260.0040.00414.02
5.6.250.0030.03117.37
5.6.240.0080.04317.34
5.6.230.0070.02217.52
5.6.220.0070.02817.29
5.6.210.0130.03317.39
5.6.200.0050.03517.60
5.6.190.0090.02217.62
5.6.180.0000.03017.48
5.6.170.0070.02117.57
5.6.160.0060.02117.52
5.6.150.0030.03217.70
5.6.140.0080.04517.60
5.6.130.0100.02217.71
5.6.120.0040.04117.54
5.6.110.0020.02717.60
5.6.100.0050.03517.74
5.6.90.0060.03317.42
5.6.80.0050.02417.22
5.6.70.0040.03317.31
5.6.60.0070.02717.20
5.6.50.0060.04417.10
5.6.40.0050.03817.30
5.6.30.0010.02817.21
5.6.20.0070.03317.39
5.6.10.0020.03217.13
5.6.00.0030.03817.29
5.5.380.0050.02215.67
5.5.370.0050.03815.65
5.5.360.0050.02315.73
5.5.350.0000.02515.62
5.5.340.0080.03715.87
5.5.330.0030.04415.87
5.5.320.0040.02015.77
5.5.310.0000.04315.96
5.5.300.0030.02215.87
5.5.290.0000.02715.98
5.5.280.0030.02415.90
5.5.270.0110.02015.85
5.5.260.0060.02815.91
5.5.250.0070.02015.68
5.5.240.0030.03815.58
5.5.230.0070.03315.55
5.5.220.0000.02415.54
5.5.210.0050.02015.51
5.5.200.0050.03015.59
5.5.190.0040.02215.63
5.5.180.0020.02415.49
5.5.170.0030.00611.02
5.5.160.0030.02915.65
5.5.150.0000.02915.57
5.5.140.0090.01815.50
5.5.130.0000.04115.58
5.5.120.0020.03915.53
5.5.110.0040.02315.56
5.5.100.0030.03015.44
5.5.90.0040.02715.52
5.5.80.0030.02915.47
5.5.70.0030.02315.42
5.5.60.0040.02215.53
5.5.50.0110.03315.43
5.5.40.0020.03315.50
5.5.30.0040.02715.41
5.5.20.0060.02015.52
5.5.10.0070.02015.50
5.5.00.0070.02615.49
5.4.450.0020.04315.14
5.4.440.0040.02715.16
5.4.430.0020.02515.13
5.4.420.0030.02315.21
5.4.410.0010.02315.15
5.4.400.0050.03515.00
5.4.390.0050.03015.06
5.4.380.0050.04715.03
5.4.370.0050.02714.92
5.4.360.0020.02215.05
5.4.350.0080.02315.02
5.4.340.0040.02015.06
5.4.330.0000.00810.90
5.4.320.0030.04715.03
5.4.310.0030.02414.97
5.4.300.0020.02115.04
5.4.290.0080.03714.87
5.4.280.0040.02215.00
5.4.270.0020.02915.01
5.4.260.0110.01514.88
5.4.250.0060.02814.88
5.4.240.0030.02014.90
5.4.230.0060.03415.01
5.4.220.0050.02514.96
5.4.210.0060.02114.92
5.4.200.0030.02314.96
5.4.190.0060.02114.96
5.4.180.0050.02114.88
5.4.170.0020.02714.99
5.4.160.0020.05215.01
5.4.150.0050.02315.04
5.4.140.0090.01513.67
5.4.130.0050.03013.68
5.4.120.0020.02213.67
5.4.110.0060.01813.66
5.4.100.0030.02213.71
5.4.90.0040.02213.72
5.4.80.0080.01613.72
5.4.70.0020.02613.61
5.4.60.0070.03213.70
5.4.50.0060.01813.63
5.4.40.0000.02613.70
5.4.30.0050.02413.66
5.4.20.0070.01813.59
5.4.10.0050.01813.65
5.4.00.0020.02013.36
5.3.290.0060.02912.79
5.3.280.0050.03112.71
5.3.270.0030.02112.74
5.3.260.0060.01812.82
5.3.250.0050.02012.72
5.3.240.0020.02812.73
5.3.230.0070.03212.76
5.3.220.0030.03512.80
5.3.210.0030.02212.70
5.3.200.0020.02212.80
5.3.190.0050.02212.76
5.3.180.0030.02312.78
5.3.170.0060.01712.79
5.3.160.0050.01812.76
5.3.150.0050.01912.73
5.3.140.0070.01712.74
5.3.130.0020.02212.79
5.3.120.0030.02312.72
5.3.110.0020.02412.73
5.3.100.0030.02112.47
5.3.90.0030.02112.49
5.3.80.0080.01712.47
5.3.70.0060.01712.51
5.3.60.0060.01712.50
5.3.50.0030.02012.41
5.3.40.0050.01812.41
5.3.30.0000.02012.46
5.3.20.0010.02012.32
5.3.10.0020.01812.29
5.3.00.0020.01712.29
5.2.170.0030.02110.99
5.2.160.0030.01310.93
5.2.150.0040.01511.04
5.2.140.0020.01410.95
5.2.130.0020.01511.00
5.2.120.0030.01311.02
5.2.110.0030.01310.91
5.2.100.0030.02311.03
5.2.90.0010.01310.97
5.2.80.0030.03110.99
5.2.70.0030.02010.93
5.2.60.0020.01510.98
5.2.50.0020.01710.99
5.2.40.0030.01810.86
5.2.30.0000.01710.83
5.2.20.0040.01610.85
5.2.10.0030.01610.81
5.2.00.0020.02010.83
5.1.60.0050.01010.45
5.1.50.0060.01010.45
5.1.40.0050.01210.44
5.1.30.0000.01610.58
5.1.20.0070.01210.66
5.1.10.0030.01610.52
5.1.00.0050.01310.47
5.0.50.0000.0139.72
5.0.40.0020.0099.65
5.0.30.0030.0179.48
5.0.20.0010.0139.57
5.0.10.0020.0109.57
5.0.00.0030.0139.53
4.4.90.0030.0079.21
4.4.80.0020.0109.21
4.4.70.0010.0109.21
4.4.60.0020.0079.21
4.4.50.0000.0109.21
4.4.40.0020.0129.21
4.4.30.0000.0109.21
4.4.20.0020.0099.21
4.4.10.0000.0119.21
4.4.00.0030.0129.21
4.3.110.0020.0089.21
4.3.100.0000.0099.21
4.3.90.0000.0099.21
4.3.80.0020.0129.21
4.3.70.0030.0089.21
4.3.60.0010.0089.21
4.3.50.0000.0099.21
4.3.40.0000.0139.21
4.3.30.0020.0089.21
4.3.20.0010.0089.21
4.3.10.0020.0089.21
4.3.00.0020.0079.21

preferences:
60.03 ms | 401 KiB | 5 Q