--TEST-- Bug #445: Date does not handle DATE_FORMAT_ISO_EXTENDED correctly --FILE-- getMonth() . "\n"; $date = new Date(); $date->setDate($input, DATE_FORMAT_ISO_EXTENDED); echo 'Date::getMonth() (via Date::setDate()) = ' . $date->getMonth() . "\n"; ?> --EXPECT-- Date::getMonth() (via Constructor) = 12 Date::getMonth() (via Date::setDate()) = 12