blob: 3804c2a6e1557e002475fe6118bbc18ddc54a4cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
The default value is null in the parent class method's signature.
--FILE--
<?php
class MyDateTime extends DateTime
{
public static function createFromFormat()
{
}
}
?>
--EXPECTF--
Fatal error: Declaration of MyDateTime::createFromFormat() must be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null) in %s on line %d
|