hi Stas, On Thu, Aug 19, 2010 at 6:53 PM, Stas Malyshev <smalys...@sugarcrm.com> wrote:
>> Arguments being silently ignored sounds like a potential bug to me. I >> know it's something I've seen in code I've maintained. > > No, it's not a bug - extra arguments were silently ignored in PHP since the > dawn of time. Inconsistently. Many internals functions do not accept more arguments than the supported ones. However, what are the benefits to be less strict in your example? I can't think of any practical (or critical) example where you have to remove this optional argument. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php