Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)
| From: | Jan Schneider | Date: | Tue, 23 Sep 2003 13:35:06 +0000 |
| Subject: | Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-4552@lists.php.net to get a copy of this message | ||
Hi,
the recent change to array_merge that now checks for IS_ARRAY breaks BC IMO.
At least I know get a lot of E_NOTICEs everywhere.
On Tue, 23 Sep 2003, jan at horde dot org wrote:
> ID: 25494
> Comment by: jan at horde dot org
> Reported By: enygma at phpdeveloper dot org
> Status: Bogus
> Bug Type: Arrays related
> Operating System: Any
> PHP Version: 4.3.2
> New Comment:
>
>This fix also breaks BC in the way that previously allowed (and
>working) NULLs being passed as arguments, now produce an unnecessary
>E_NOTICE.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft