Re: substr passing null...

From: Date: Wed, 28 Jan 2009 17:35:41 +0000
Subject: Re: substr passing null...
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-42868@lists.php.net to get a copy of this message
Peter Walther wrote:
it's only a bug if you always expect optional NULL parameters to be ignored.
Well that's the question I'm asking. I assumed optional parameters passed null should be ignored. If this isn't the behaviour php uses, then I'm good, but I've used passing null to optional params all over the place, and just recently had this one not work. If my logic / assumptions are flawed, that's fine otherwise I can file a bug. -- Nathanael d. Noblet Gnat Solutions, Inc T: 403.875.4613

« previous php.internals (#42868) next »