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