RE: [PHP] Internationalisation and MB strings
| From: | Boyd, Todd M. | Date: | Fri, 01 Aug 2008 19:14:26 +0000 |
| Subject: | RE: [PHP] Internationalisation and MB strings | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277595@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Andrew Ballard [mailto:aballard@gmail.com]
> 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 zeros or truncation of precision as I would expect if
> the
> > number had been multiplied by 1000. Although, maybe the
> multiplication
> > occurred before the division by the number of runs. It just looked
> > suspect to me.
> >
> > Cheers,
> > Rob.
>
> I've had moments like that. (One just yesterday in fact. :-) )
>
> I did subsequently notice with the OP's code you will occasionally get
> a negative number, too. Apparently the code enters some sort of
> space/time continuum and sometimes manages to go back in time a few
> microseconds. (Actually, there is a much more rational explanation for
> it if anyone cares, but this one sounds cooler.)
I'm guessing that would be right around the time the PHP interpreter reaches 88 miles per hour
and the flux capacitor is activated. :D
Todd Boyd
Web Programmer