RE: [PEAR-DEV] db abstraction: pass by reference versus return

From: Date: Fri, 12 Jul 2002 08:08:00 +0000
Subject: RE: [PEAR-DEV] db abstraction: pass by reference versus return
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7676@lists.php.net to get a copy of this message
Ah sorry, maybe I should have made this clearer: I am talking about the new DB abstraction packages MDB () So this will not affect current PEAR DB or Metabase users. Moreover there is a wrapper for PEAR DB and Metabase that will ensure BC. Therefore its really not all that much a question of how it used to be, but how we want it to be in the future Best regards, Lukas > -----Original Message----- > From: Piotr Klaban [mailto:makler+pear@man.torun.pl] > Sent: Friday, July 12, 2002 8:33 AM > To: pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] db abstraction: pass by reference versus return > > On Thu, Jul 11, 2002 at 04:16:30PM +0200, Lukas Smith wrote: > > The advantage of getting DB_OK on ok is that I could actually check for > > this instead of the more costly isError(). > > If this bahaviour would be changed, then all of the programs > that uses DB would need rewrite. Then I am agains changing it. > > But if you decide to change anything so important in the future - > let do it in the $_GET/$_POST way - the old behaviour ($HTTP_*_VARS in > this case) > is the option, and it should be the default option. > In short: all old programs should still work, IMHO. > > Best regards, > > -- > Piotr Klaban > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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