Date: 01/07/00
- Next message: Mike Robinson: "RE: [PHP-DEV] PHP 4.0 Bug #3060 Updated: Undefined function gmstrftime"
- Previous message: Stephen Hawkins: "[PHP-DEV] Apache, Raven, & php3"
- In reply to: Andrei Zmievski: "Re: [PHP-DEV] array_merge php4 cvs"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] array_merge php4 cvs"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] array_merge php4 cvs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
suppose i have a global GET variable called gg with value 2;
$a = array();
$a = array_merge($a,$GLOBALS['HTTP_GET_VARS']);
print($GLOBALS['gg']);
$a['gg'] = 3;
print($GLOBALS['gg']);
the first print return 2.. the second return 3.. instead of 2.
----- Original Message -----
From: "Andrei Zmievski" <andrei <email protected>>
To: "Stefano Bagnara" <bago <email protected>>
Cc: <php-dev <email protected>>
Sent: Friday, January 07, 2000 8:41 PM
Subject: Re: [PHP-DEV] array_merge php4 cvs
> On Fri, 07 Jan 2000, Stefano Bagnara wrote:
> > it seem that array_merge copies the referrer to the array elements
instead
> > of the values!
> > it seem a bug introduced with the Ex API
>
> What do you mean exactly?
>
> -Andrei
> * Anything will fit if you push hard enough *
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mike Robinson: "RE: [PHP-DEV] PHP 4.0 Bug #3060 Updated: Undefined function gmstrftime"
- Previous message: Stephen Hawkins: "[PHP-DEV] Apache, Raven, & php3"
- In reply to: Andrei Zmievski: "Re: [PHP-DEV] array_merge php4 cvs"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] array_merge php4 cvs"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] array_merge php4 cvs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

