Re: Best practice question

From: Date: Thu, 19 Sep 2002 17:21:39 +0000
Subject: Re: Best practice question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116907@lists.php.net to get a copy of this message
One extra variable to be declared to catch the true (if you do try and catch it) and one extra line (the return line in the function), I'd say skip it if you know your never returning anything different. Adam Voigt adam.voigt@cryptocomm.com On Thu, 2002-09-19 at 13:17, Jon Haworth wrote: > Hi list, > > What are peoples' thoughts on "one should always return a value from a > function, even if it's always going to be true"? > > Cheers > Jon > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#116907) next »