Re: postgresql DB::connect()

From: Date: Tue, 30 Mar 2004 04:48:48 +0000
Subject: Re: postgresql DB::connect()
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26870@lists.php.net to get a copy of this message
Hi: On Mon, Mar 29, 2004 at 09:08:23PM -0500, Hans Lellelid wrote: > > I think the opposite is true, actually. In a configuration file, isn't > it "cleaner" to have '' or false assigned to a value that needs to be > empty? > > I prefer that better to not having the key there at all (i.e. "was it > set somewhere else...?" "is it using a default value...?"). Just my opinion. Yes, having it in the script makes sense. At the same time, I'd comment it out rather than set it to null/false/empty. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#26870) next »