[PHP] Internationalisation and MB strings

2008-08-01 Thread Yeti
?php *# Hello Community # Internationalisation, a topic discussed more than enough and YES, I am looking forward to PHP6. # But in reality I still have to develop for PHP4 and that's where the dog is burried ^^ # We have a customer here who is running a small site, but still in five different

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Andrew Ballard
On Fri, Aug 1, 2008 at 9:50 AM, Yeti [EMAIL PROTECTED] wrote: ?php *# Hello Community # Internationalisation, a topic discussed more than enough and YES, I am looking forward to PHP6. # But in reality I still have to develop for PHP4 and that's where the dog is burried ^^ # We have a

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Yeti
Oh right. Doing 1 measurement only is not even worth a theory. Well, I'm wondering how much PHP can speed that result up, since we are calling the same function with the same parameter 1 times. Wouldn't it be even more realistic if we called it with changing strings? ?php $iterations =

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Bernhard Kohl
/* snippetty */ foreach ($mb_array as $mb_string) { strlen('œŸŒ‡Ņ'); } /* snip */ Oh, this is supposed to be a *strlen($mb_string)*; of course

RE: [PHP] Internationalisation and MB strings

2008-08-01 Thread Boyd, Todd M.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti Sent: Friday, August 01, 2008 10:58 AM To: Andrew Ballard Cc: PHP General list Subject: Re: [PHP] Internationalisation and MB strings Oh right. Doing 1 measurement only is not even worth

RE: [PHP] Internationalisation and MB strings

2008-08-01 Thread Robert Cummings
On Fri, 2008-08-01 at 11:12 -0500, Boyd, Todd M. wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti Sent: Friday, August 01, 2008 10:58 AM To: Andrew Ballard Cc: PHP General list Subject: Re: [PHP] Internationalisation and MB strings

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Andrew Ballard
: PHP General list Subject: Re: [PHP] Internationalisation and MB strings Oh right. Doing 1 measurement only is not even worth a theory. Well, I'm wondering how much PHP can speed that result up, since we are calling the same function with the same parameter 1 times. Wouldn't

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Robert Cummings
: Friday, August 01, 2008 10:58 AM To: Andrew Ballard Cc: PHP General list Subject: Re: [PHP] Internationalisation and MB strings Oh right. Doing 1 measurement only is not even worth a theory. Well, I'm wondering how much PHP can speed that result up, since we are calling

Re: [PHP] Internationalisation and MB strings

2008-08-01 Thread Andrew Ballard
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yeti Sent: Friday, August 01, 2008 10:58 AM To: Andrew Ballard Cc: PHP General list Subject: Re: [PHP] Internationalisation and MB strings Oh right. Doing 1 measurement only is not even worth a theory. Well, I'm

RE: [PHP] Internationalisation and MB strings

2008-08-01 Thread Boyd, Todd M.
-Original Message- From: Andrew Ballard [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 2:06 PM To: PHP General list Subject: Re: [PHP] Internationalisation and MB strings ---8--- I didn't see the multiplication by 1000 and the above numbers don't show any trailing