Re: substr passing null...

From: Date: Wed, 28 Jan 2009 18:39:22 +0000
Subject: Re: substr passing null...
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-42870@lists.php.net to get a copy of this message
> > You're assumption is wrong then, NULL isn't treated as not passing a > value. The reason it worked with substr was by pure chance. > Out of interest, is there a reason that that is the case? Surely passing null would be best treated as the same as passing nothing?

« previous php.internals (#42870) next »