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