Hi!
Stanislav, does the above mean that IntlDateFormatter will be renamed to
DateFormatter, and be inside a namespace, for php 6?
What I'd like to happen is for DateFormatter to become part of DateTime
- i.e. recommended usage would be not using IntlDateFormatter at all but
have format funct
>>> Obviously, it is less likely that someone who wrote a Collator called
>>> their class "IntlCollator" instead of "Collator".
Stanislav Malyshev wrote:
>> But we want to use Collator name, because we want to use these classes
>> in PHP 6, and we want PHP collation be called Collator, just as PHP
Hi!
Then do the right thing and make it PHP 5.3+ and namespace it right from
the beginning.
I'd be glad to, but it has to work with 5.2. I would like to make it
"ideal" way, but there are real world problems that needs to solve which
intervene :)
The inconsistency is that one class, IntlDa
Am 04.06.2008 um 14:44 schrieb Stanislav Malyshev:
Hi!
Obviously, it is less likely that someone who wrote a Collator
called their class "IntlCollator" instead of "Collator".
But we want to use Collator name, because we want to use these
classes in PHP 6, and we want PHP collation be call
Hi!
Obviously, it is less likely that someone who wrote a Collator called
their class "IntlCollator" instead of "Collator".
But we want to use Collator name, because we want to use these classes
in PHP 6, and we want PHP collation be called Collator, just as PHP date
functions are called Dat
Hi!
How about
$arr = array(
'language' => 'en',
'script' => 'Hans',
'region' => 'CN',
'variants' => array(
'rozaj',
'nedis',
),
'privates' => array(
'prv1',
'prv2',
),
);
echo Locale::composeLocale($arr);
Nice idea, please add a feature request. Maybe even be
You mean http://docs.php.net/manual/en/locale.composelocale.php ?
I just looked at that for the first time.
It is utterly frightening. You can't possibly be serious about this:
$arr = array(
'language' => 'en',
'script' => 'Hans',
'region' => 'CN',
'variant2' => 'rozaj',
'variant1
Am 02.06.2008 um 07:36 schrieb Stanislav Malyshev:
Hi!
What if there is a Number extension down the road. Or a Collator
extension. Or what if people already have classes called
NumberFormatter
Well, what if they have classes named IntlNumberFormatter? There can
be
all kinds of classes,