1--TEST--
2Internal class as parent
3--FILE--
4<?php
5
6class Test extends DateTime {
7    public static function createFromFormat($format, $datetime, Wrong $timezone = null) { }
8}
9
10?>
11--EXPECTF--
12Fatal error: Could not check compatibility between Test::createFromFormat($format, $datetime, ?Wrong $timezone = null) and DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null), because class Wrong is not available in %s on line %d
13