[nycphp-talk] upgrading to php5
Adam Maccabee Trachtenberg
adam at trachtenberg.com
Thu May 18 18:56:13 EDT 2006
On Thu, 18 May 2006, Urb LeJeune wrote:
> To me this is a bug. If you want to merge two arrays and one is null,
> why should the target be null? I would think the target array would be equal
> to the non-null array in the parameter list.
You are not alone. :) The rebuttal is that it doesn't make sense to
merge non-arrays, so you're on the hook to make sure you pass in valid
arguments.
-adam
--
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
More information about the talk
mailing list
Automatic Email Organization without missing anything!