--TEST-- Bug #67118 crashes in DateTime when this used after failed __construct --INI-- date.timezone=Europe/Berlin --FILE-- format("Y") . "\n"; } } }; new mydt("Funktionsansvarig rÄdgivning och juridik", "UTC"); ?> --EXPECTF-- Fatal error: Uncaught DateObjectError: Object of type mydt (inheriting DateTime) has not been correctly initialized by calling parent::__construct() in its constructor in %s:%d Stack trace: #0 %s(%d): DateTime->format('Y') #1 %s(%d): mydt->__construct(%s) #2 {main} thrown in %s on line %d