RE: [PEAR-DEV] db and php5

From: Date: Wed, 12 Nov 2003 14:38:29 +0000
Subject: RE: [PEAR-DEV] db and php5
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23535@lists.php.net to get a copy of this message
> From: Analysis & Solutions [mailto:danielc@analysisandsolutions.com] > Sent: Wednesday, November 12, 2003 2:47 AM > On Wed, Nov 05, 2003 at 12:04:23PM -0500, Analysis & Solutions wrote: > > > > > > http://www.analysisandsolutions.com/pear/DB.references.diff > > I have a new patch file which supercedes that one... > > http://www.analysisandsolutions.com/pear/DB.references2.diff > > This new file is based off a current CVS checkout and covers DB.php too, > plus uses existing variable names when possible. > > So, folks looking to immediately resolve the "Only variables or references > can be returned by reference" PHP 5 compatibility issues on their PEAR DB > installs may find this patch handy. > > Similarly, Lukas, Stig or Tomas might want to use it on head. > > Enjoy, without having run any tests .. is the following really necessary? - return DB_OK; + $res = DB_OK; + return $res; Regards, Lukas

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