php 5.1.2
| From: | Alan Harder | Date: | Thu, 19 Jan 2006 20:10:01 +0000 |
| Subject: | php 5.1.2 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-26656@lists.php.net to get a copy of this message | ||
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