Showstopper bug *before* b3
| From: | Thies C. Arntzen | Date: | Mon, 27 Sep 1999 17:01:37 +0000 |
| Subject: | Showstopper bug *before* b3 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4964@lists.php.net to get a copy of this message | ||
(resent in case the subject wasn't strong enogh)
hi,
we do have a problem with the new API (getParameterEx/convert_to_string_ex
& friends).
the attached sample shows some very unwanted new behaviour of strtoupper
- i'm sure there are more functions that suddenly do bad things (change
their arguments).
zeev, andi - any smart suggestions?
regards,
tc
On Mon, 27 Sep 1999, Thies C. Arntzen wrote:
> <?
> $arr = array("lower");
> echo $arr[0]."\n";
> echo strtoupper($arr[0])."\n"; // this line *CHANGES* the array!
> echo $arr[0]."\n";
> ?>
>
> shows:
>
> ./php ../crash/ref.php
> Content-Type: text/html
>
> lower
> LOWER
> LOWER
>
> that needs to be resolved bewfore b3, i think!
>
> tc
>
>
> --
> PHP 4 Beta
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany