Re: php 5.1.2
| From: | Marco Kaiser | Date: | Thu, 19 Jan 2006 22:26:35 +0000 |
| Subject: | Re: php 5.1.2 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-26657@lists.php.net to get a copy of this message | ||
Hi,
have you some code to reproduce it on my machine? i tested it php 5.1.2 and
it works for me ...
-- Marco
2006/1/19, Alan Harder <alan.harder@sun.com>:
>
> Hi-
> the Gallery team received the RC notifications for 5.1.2..
> sorry for not performing our testing until after the release,
> but I did want to report one issue I found.
> we have(had!) one function that contains code like this:
>
> function test($x) {
> array_shift($args = func_get_args());
>
> and then does some stuff with $x and $args.
> there are of course several ways to rewrite this, but just wanted
> to let you know that in php 5.1.2 it appears the array_shift above
> does not affect $args. changing to:
> $args = func_get_args();
> array_shift($args);
> works fine.
>
> thanks,
>
> - Alan
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Marco Kaiser