3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Test { public function check(Test $x); } interface TestStrict extends Test { public function checkStrict(TestStrict $x); } class Foo implements TestStrict { //ok, exact match public function checkStrict(Test $x) {} //fail, but TestStrict > Test I.e. //if $x fullfills TestStrict, it 100% satisfy Test too. //so - why? public function check(Test $x) {} }

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.0120.00318.56
8.3.50.0140.00522.05
8.3.40.0090.00618.32
8.3.30.0130.00720.21
8.3.20.0030.00518.49
8.3.10.0040.00420.96
8.3.00.0040.00422.37
8.2.180.0070.01018.04
8.2.170.0200.00022.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0020.00519.70
8.2.110.0000.00920.39
8.2.100.0080.00417.72
8.2.90.0050.00319.18
8.2.80.0030.00617.97
8.2.70.0050.00517.50
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0050.00319.76
8.2.30.0040.00419.37
8.2.20.0040.00417.63
8.2.10.0050.00317.48
8.2.00.0040.00417.72
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0060.00322.48
8.1.230.0050.00621.03
8.1.220.0030.00518.77
8.1.210.0030.00618.97
8.1.200.0040.00417.23
8.1.190.0000.00917.40
8.1.180.0040.00418.10
8.1.170.0050.00318.45
8.1.160.0000.00818.82
8.1.150.0090.00018.59
8.1.140.0000.00817.34
8.1.130.0000.00717.75
8.1.120.0050.00317.40
8.1.110.0000.00717.41
8.1.100.0030.00617.28
8.1.90.0040.00417.36
8.1.80.0000.00717.25
8.1.70.0030.00317.36
8.1.60.0060.00317.38
8.1.50.0040.00417.40
8.1.40.0060.00317.36
8.1.30.0050.00217.47
8.1.20.0000.00817.46
8.1.10.0020.00517.43
8.1.00.0060.00617.31
8.0.300.0000.00719.91
8.0.290.0050.00317.16
8.0.280.0070.00018.37
8.0.270.0000.00717.19
8.0.260.0030.00316.63
8.0.250.0000.00716.81
8.0.240.0000.01016.88
8.0.230.0030.00316.79
8.0.220.0030.00316.73
8.0.210.0070.00016.87
8.0.200.0040.00416.86
8.0.190.0030.00316.84
8.0.180.0040.00416.88
8.0.170.0040.00416.83
8.0.160.0070.00016.76
8.0.150.0000.00716.66
8.0.140.0030.00616.74
8.0.130.0000.00513.24
8.0.120.0070.00016.81
8.0.110.0030.00616.79
8.0.100.0080.00016.73
8.0.90.0080.00016.86
8.0.80.0030.01216.79
8.0.70.0070.00016.69
8.0.60.0030.00516.89
8.0.50.0000.00716.78
8.0.30.0110.00816.94
8.0.20.0100.00917.40
8.0.10.0040.00416.77
8.0.00.0080.00916.71
7.4.330.0020.00216.72
7.4.320.0000.00716.43
7.4.300.0000.00716.50
7.4.290.0000.00716.54
7.4.280.0030.00316.45
7.4.270.0030.00316.44
7.4.260.0000.00513.21
7.4.250.0050.00316.54
7.4.240.0000.00716.34
7.4.230.0000.00716.27
7.4.220.0030.01416.45
7.4.210.0050.00916.49
7.4.200.0030.00316.33
7.4.190.0040.00416.49
7.4.160.0060.01316.41
7.4.150.0060.01217.40
7.4.140.0070.01017.86
7.4.130.0060.01316.45
7.4.120.0110.00616.36
7.4.110.0070.01116.46
7.4.100.0080.00816.25
7.4.90.0120.01216.41
7.4.80.0130.00619.39
7.4.70.0140.00316.44
7.4.60.0120.00916.28
7.4.50.0090.00016.37
7.4.40.0080.00822.77
7.4.30.0070.01116.35
7.4.10.0080.01214.94
7.4.00.0060.01014.68
7.3.330.0000.00513.25
7.3.320.0020.00213.09
7.3.310.0030.00316.23
7.3.300.0030.00316.29
7.3.290.0100.01016.18
7.3.280.0100.00916.25
7.3.270.0090.00917.40
7.3.260.0110.00718.24
7.3.250.0100.00816.32
7.3.240.0140.00916.41
7.3.230.0130.00316.50
7.3.210.0070.01716.16
7.3.200.0070.01119.39
7.3.190.0160.00016.44
7.3.180.0070.01016.31
7.3.170.0130.00416.32
7.3.160.0120.00316.31
7.3.130.0120.00914.72
7.3.120.0100.00914.67
7.3.110.0120.00714.54
7.3.100.0090.00614.70
7.3.90.0080.00314.65
7.3.80.0030.01014.77
7.3.70.0050.00814.44
7.3.60.0070.00614.60
7.3.50.0040.00814.78
7.3.40.0040.01114.74
7.3.30.0050.01114.82
7.3.20.0030.01316.53
7.3.10.0020.01016.65
7.3.00.0060.00616.72
7.2.330.0060.01116.50
7.2.320.0130.00316.36
7.2.310.0110.00616.62
7.2.300.0170.00316.61
7.2.290.0130.01016.65
7.2.260.0130.00715.09
7.2.250.0130.00514.86
7.2.240.0070.01014.74
7.2.230.0040.01115.02
7.2.220.0060.00614.90
7.2.210.0010.01314.77
7.2.200.0000.01114.84
7.2.190.0060.01014.90
7.2.180.0100.00414.89
7.2.170.0060.01014.90
7.2.160.0000.01214.59
7.2.150.0000.00916.71
7.2.140.0000.01316.84
7.2.130.0070.01016.49
7.2.120.0040.00816.65
7.2.110.0070.00716.48
7.2.100.0070.01116.73
7.2.90.0060.00916.90
7.2.80.0040.00816.74
7.2.70.0070.00716.87
7.2.60.0050.01016.86
7.2.50.0060.00916.61
7.2.40.0030.01216.90
7.2.30.0090.00616.45
7.2.20.0090.00616.73
7.2.10.0040.00816.80
7.2.00.0070.00417.82
7.1.330.0110.00315.81
7.1.320.0050.00615.70
7.1.310.0080.00515.55
7.1.300.0080.00415.59
7.1.290.0050.00715.51
7.1.280.0070.00715.71
7.1.270.0030.01315.61
7.1.260.0060.00615.28
7.1.250.0030.01015.67
7.1.240.0000.01215.64
7.1.230.0030.00615.70
7.1.220.0060.00915.44
7.1.210.0090.00615.60
7.1.200.0090.00515.63
7.1.190.0030.00515.53
7.1.180.0120.00315.45
7.1.170.0000.01315.76
7.1.160.0080.00615.58
7.1.150.0040.01115.73
7.1.140.0040.01115.75
7.1.130.0030.00715.64
7.1.120.0000.01515.72
7.1.110.0080.00315.70
7.1.100.0090.00516.69
7.1.90.0000.01415.38
7.1.80.0100.00615.66
7.1.70.0070.00516.41
7.1.60.0080.00917.42
7.1.50.0040.01016.04
7.1.40.0040.00815.78
7.1.30.0100.00315.41
7.1.20.0060.01015.57
7.1.10.0000.00915.64
7.1.00.0070.03919.11
7.0.330.0000.01515.45
7.0.320.0030.01315.30
7.0.310.0030.01215.04
7.0.300.0000.00915.14
7.0.290.0100.00315.45
7.0.280.0040.01115.49
7.0.270.0000.01115.34
7.0.260.0000.01115.27
7.0.250.0030.00915.44
7.0.240.0040.01115.45
7.0.230.0000.01514.98
7.0.220.0000.01515.48
7.0.210.0070.00715.29
7.0.200.0020.00815.95
7.0.190.0030.01015.25
7.0.180.0030.00715.25
7.0.170.0060.00315.42
7.0.160.0110.00315.41
7.0.150.0030.00915.30
7.0.140.0040.04318.71
7.0.130.0080.00815.28
7.0.120.0000.01315.40
7.0.110.0100.00315.29
7.0.100.0080.04517.68
7.0.90.0110.04617.77
7.0.80.0020.04417.65
7.0.70.0150.04317.54
7.0.60.0070.03317.60
7.0.50.0130.03317.82
7.0.40.0020.04816.75
7.0.30.0150.03816.66
7.0.20.0030.03716.74
7.0.10.0020.02716.83
7.0.00.0080.04216.67
5.6.400.0140.00014.21
5.6.390.0030.00914.04
5.6.380.0030.00714.12
5.6.370.0000.01114.23
5.6.360.0060.00614.11
5.6.350.0080.00314.21
5.6.340.0090.00614.39
5.6.330.0000.01413.93
5.6.320.0070.00713.93
5.6.310.0040.01114.34
5.6.300.0100.00714.55
5.6.290.0040.01214.01
5.6.280.0030.01014.17
5.6.270.0110.00314.18
5.6.260.0000.01214.23
5.6.250.0080.04317.35
5.6.240.0100.04317.38
5.6.230.0050.04517.42
5.6.220.0060.03817.47
5.6.210.0080.03617.37
5.6.200.0100.02517.54
5.6.190.0070.04417.57
5.6.180.0090.04517.67
5.6.170.0080.04417.62
5.6.160.0070.04517.79
5.6.150.0080.04017.51
5.6.140.0050.04517.52
5.6.130.0120.04217.66
5.6.120.0080.04817.57
5.6.110.0050.04517.60
5.6.100.0100.03517.60
5.6.90.0110.04117.71
5.6.80.0050.02917.39
5.6.70.0100.04017.30
5.6.60.0070.04017.30
5.6.50.0130.03517.20
5.6.40.0040.04317.42
5.6.30.0020.03217.28
5.6.20.0050.04317.24
5.6.10.0080.04017.24
5.6.00.0030.04517.25
5.5.380.0170.02717.17
5.5.370.0040.02717.45
5.5.360.0070.02517.18
5.5.350.0050.05517.24
5.5.340.0010.03317.51
5.5.330.0080.04617.35
5.5.320.0120.04217.44
5.5.310.0070.04617.53
5.5.300.0140.03517.42
5.5.290.0100.04517.44
5.5.280.0080.04717.49
5.5.270.0060.04617.43
5.5.260.0100.04717.48
5.5.250.0050.02917.26
5.5.240.0080.04517.11
5.5.230.0040.02517.04
5.5.220.0100.03717.12
5.5.210.0070.03617.09
5.5.200.0050.04217.12
5.5.190.0080.04117.00
5.5.180.0110.04317.25
5.5.170.0100.00314.15
5.5.160.0030.03617.00
5.5.150.0070.03717.16
5.5.140.0050.03817.06
5.5.130.0030.02617.04
5.5.120.0060.04017.25
5.5.110.0080.03317.18
5.5.100.0120.03717.04
5.5.90.0050.03316.88
5.5.80.0100.03917.11
5.5.70.0140.02017.00
5.5.60.0060.03817.07
5.5.50.0090.04217.05
5.5.40.0050.04217.04
5.5.30.0110.03316.98
5.5.20.0080.04116.94
5.5.10.0130.03516.88
5.5.00.0080.03017.14
5.4.450.0090.03714.96
5.4.440.0060.03815.16
5.4.430.0030.04315.08
5.4.420.0020.02715.11
5.4.410.0050.04215.04
5.4.400.0080.03814.74
5.4.390.0060.02314.96
5.4.380.0020.04014.93
5.4.370.0120.03514.94
5.4.360.0060.03914.87
5.4.350.0020.04515.03
5.4.340.0070.03714.77
5.4.330.0000.01110.70
5.4.320.0100.02314.87
5.4.310.0100.03515.00
5.4.300.0080.04014.92
5.4.290.0020.03914.99
5.4.280.0020.03215.08
5.4.270.0030.03414.95
5.4.260.0060.04115.00
5.4.250.0070.03914.87
5.4.240.0020.02914.90
5.4.230.0020.03814.84
5.4.220.0070.03114.92
5.4.210.0060.03314.91
5.4.200.0080.04214.79
5.4.190.0060.04314.91
5.4.180.0050.04014.80
5.4.170.0070.04014.69
5.4.160.0030.04514.85
5.4.150.0110.03514.95
5.4.140.0070.03713.69
5.4.130.0090.03913.59
5.4.120.0070.03513.69
5.4.110.0030.02613.59
5.4.100.0100.02313.73
5.4.90.0050.03913.69
5.4.80.0030.02313.55
5.4.70.0050.03513.54
5.4.60.0050.03113.51
5.4.50.0080.01613.67
5.4.40.0100.01813.64
5.4.30.0020.02413.41
5.4.20.0040.02213.56
5.4.10.0050.02013.58
5.4.00.0020.02213.32
5.3.290.0070.02612.46
5.3.280.0070.04212.32
5.3.270.0080.03812.40
5.3.260.0030.04312.45
5.3.250.0030.03812.38
5.3.240.0080.02812.31
5.3.230.0130.03112.39
5.3.220.0070.04012.48
5.3.210.0070.03512.43
5.3.200.0030.04212.41
5.3.190.0060.04212.48
5.3.180.0040.04012.44
5.3.170.0070.03212.55
5.3.160.0100.02712.44
5.3.150.0000.02312.53
5.3.140.0090.01912.51
5.3.130.0060.02512.46
5.3.120.0030.02412.42
5.3.110.0030.02312.44
5.3.100.0050.02012.16
5.3.90.0050.02612.20
5.3.80.0050.02112.07
5.3.70.0050.01812.19
5.3.60.0050.01812.14
5.3.50.0050.01912.07
5.3.40.0030.01812.03
5.3.30.0050.01812.05
5.3.20.0030.02611.99
5.3.10.0050.02311.87
5.3.00.0010.02611.86
5.2.170.0000.03311.88
5.2.160.0100.04311.88
5.2.150.0000.03711.88
5.2.140.0030.02311.88
5.2.130.0070.02711.88
5.2.120.0030.02311.88
5.2.110.0000.05711.88
5.2.100.0030.02011.88
5.2.90.0000.03711.88
5.2.80.0000.04311.88
5.2.70.0000.02711.88
5.2.60.0070.02311.88
5.2.50.0000.03311.88
5.2.40.0000.03011.88
5.2.30.0000.03711.88
5.2.20.0000.02711.88
5.2.10.0030.02711.88
5.2.00.0030.02711.88
5.1.60.0030.02311.88
5.1.50.0000.03711.88
5.1.40.0030.02711.88
5.1.30.0000.03011.88
5.1.20.0000.02711.88
5.1.10.0100.02011.88
5.1.00.0000.02711.88
5.0.50.0030.01711.88
5.0.40.0000.02311.88
5.0.30.0000.02711.88
5.0.20.0030.01711.88
5.0.10.0070.01311.88
5.0.00.0000.03011.88
4.4.90.0000.01711.88
4.4.80.0000.02311.88
4.4.70.0000.01711.88
4.4.60.0000.01711.88
4.4.50.0000.02311.88
4.4.40.0030.02011.88
4.4.30.0000.01711.88
4.4.20.0000.01711.88
4.4.10.0000.01711.88
4.4.00.0030.02311.88
4.3.110.0000.01311.88
4.3.100.0030.01311.88
4.3.90.0000.01711.88
4.3.80.0070.01711.88
4.3.70.0000.01711.88
4.3.60.0000.01311.88
4.3.50.0000.02011.88
4.3.40.0000.02311.88
4.3.30.0000.01711.88
4.3.20.0030.01311.88
4.3.10.0000.01711.88
4.3.00.0030.01311.88

preferences:
45.33 ms | 401 KiB | 5 Q