Re: [PHP-I18N] is_string()

2006-03-17 Thread Pierre
On Wed, 15 Mar 2006 12:26:53 -0800 [EMAIL PROTECTED] (Andrei Zmievski) wrote: > I guess I can live with this. It's just a little strange that we have > only 2 string types, but 3 casts.. I find that confusing too. Given the commit log, it is even more confusing: - Updated is_string(): If Uni

[PHP-I18N] setlocale returns FALSE sometimes

2006-03-17 Thread Patrick Savelberg
Hi list, I have a few locales installed on my system: locale -a C POSIX dutch nl_BE nl_BE.iso88591 [EMAIL PROTECTED] nl_BE.utf8 [EMAIL PROTECTED] [EMAIL PROTECTED] nl_NL nl_NL.iso88591 [EMAIL PROTECTED] nl_NL.utf8 [EMAIL PROTECTED] [EMAIL PROTECTED] In my PHP code I have the following two line

[PHP-I18N] setlocale returns FALSE sometimes

2006-03-17 Thread Patrick Savelberg
Hi list, I have a few locales installed on my system: locale -a C POSIX dutch nl_BE nl_BE.iso88591 [EMAIL PROTECTED] nl_BE.utf8 [EMAIL PROTECTED] [EMAIL PROTECTED] nl_NL nl_NL.iso88591 [EMAIL PROTECTED] nl_NL.utf8 [EMAIL PROTECTED] [EMAIL PROTECTED] In my PHP code I have the following two lines

Re: [PHP-I18N] is_string()

2006-03-17 Thread M. Sokolewicz
Pierre wrote: On Wed, 15 Mar 2006 12:26:53 -0800 [EMAIL PROTECTED] (Andrei Zmievski) wrote: I guess I can live with this. It's just a little strange that we have only 2 string types, but 3 casts.. I find that confusing too. Given the commit log, it is even more confusing: - Updated is_stri

Re: [PHP-I18N] is_string()

2006-03-17 Thread Andrei Zmievski
I find that confusing too. Given the commit log, it is even more confusing: - Updated is_string(): If Unicode semantics is turned on, return "true" for Unicode strings only. If Unicode semantics is turned off, return "true" for native strings only. It makes is_string basically useles