blob: 80c98a405253aeca81501ac84a2bae7ac2f78db5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
The default value is false in the parent class method's signature.
--FILE--
<?php
interface MyDateTimeInterface extends DateTimeInterface
{
public function diff();
}
?>
--EXPECTF--
Fatal error: Declaration of MyDateTimeInterface::diff() must be compatible with DateTimeInterface::diff(DateTimeInterface $targetObject, bool $absolute = false) in %s on line %d
|