Intl extension class MessageFormatter instantiation returns NULL
| From: | Chris Stockton | Date: | Wed, 09 Dec 2009 20:29:57 +0000 |
| Subject: | Intl extension class MessageFormatter instantiation returns NULL | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6886@lists.php.net to get a copy of this message | ||
Hello,
I am trying to use ChoiceFormat in the Intl extension. When I try to
do something like:
$r = new MessageFormatter("en", "There are {0≤are no files|1≤is one
file|1<are many files} ok");
// $r is NULL
This may be a incorrect use, but regardless null should not be
returned because no error code or error message can be returned. I am
struggling to find documentation on plural usage. Can someone point me
in the right direction?
-Chris