Re: Re: cvs: php4 /pear DB.php /pear/DB common.phpmysql.php#

From: Date: Tue, 05 Dec 2000 12:31:15 +0000
Subject: Re: Re: cvs: php4 /pear DB.php /pear/DB common.phpmysql.php#
References: 1 2 3 4 5  Groups: php.pear 
Request: Send a blank email to php-pear+get-545@lists.php.net to get a copy of this message
On Mon, Dec 04, 2000 at 01:12:37PM -0600, Andrei Zmievski wrote: > On Mon, 04 Dec 2000, Chuck Hagenbuch wrote: > > Anyway, my preference (following the Horde standards that Jon provided a link > > to) would be: > > > > function connect(&$dsn, $persistent = false) > > { > > if (is_array($dsn)) { > > $dsninfo = &$dsn; > > } else { > > $dsninfo = DB::parseDSN($dsn); > > } > > > > if (!$dsninfo || !$dsninfo['phptype']) { > > return $this->raiseError(); > > } > > } > > > > This is my preference as well. same here. tc

« previous php.pear (#545) next »