Re: PHP 4.0.5 Release Candidate testing
| From: | Alexander Feldman | Date: | Mon, 02 Apr 2001 13:42:51 +0000 |
| Subject: | Re: PHP 4.0.5 Release Candidate testing | ||
| References: | 1 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-50587@lists.php.net to get a copy of this message | ||
On Mon, 2 Apr 2001, Andrei Zmievski wrote:
> On Mon, 02 Apr 2001, Alexander Feldman wrote: > Hi, > > These are the
> results and questions from some tests I run yesterday on the > last
> 4.0.5 release candidate. Note that all differences are from PHP >
> 4.0.4pl1. > > 1. The function array_flip($array) puts one extra zero
> byte at the end of > each element in the return array thus making the
> result non binary safe.
>
> I've just fixed it in CVS.
Great.
>
> > 3. The count_chars() function returns different result from the
> 4.0.4pl1 > count_chars() function.
>
> Examples?
Ok, now I analyzed the output more carefully - the problem had been in
4.0.4 - the count_chars function there doesn't create element for the byte
with value 255. This is fixed here - I do not expect problems with this
function (BTW, it doesn't seem to be widely used)...
Attached is a script that reproduces the difference.
>
> -Andrei
>
> "The only true currency in this bankrupt world is what we share with
> each other when we're uncool." -- Lester Bangs, from the film 'Almost
> Famous'
>
Thanks:
-- Alex