Hi Stas, (sorry for the cluttered reply)
Am Montag, den 02.06.2008, 08:36 +0300 schrieb Stanislav Malyshev: > Because locale is essentially the string. There's nothing in the > locale that isn't in the string, so you don't need any specific object > for that - it wouldn't give you any value. Except that it is easier to validate with object setters than to parse a locale string. $locale = new IntlLocale(); $locale->setCurrency(IntlCurrency::USD); $locale->setCollation(IntlCollation::TRADITIONAL); or $locale = new IntlLocale('en_US', IntlCurrency::USD, IntlCollation::TRADITIONAL, IntlCalendar::THAI_BUDDHIST); Creating the locale programatically, which might be a common use case for the web, is much easier with a well defined object than with a somehow concatted string. cu, Lars
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil