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