Re: DB->quote
| From: | Edin Kadribasic | Date: | Tue, 28 Aug 2001 07:59:58 +0000 |
| Subject: | Re: DB->quote | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1709@lists.php.net to get a copy of this message | ||
"Tomas V.V.Cox" <cox@idecnet.com> wrote in message
news:3B85059D.B14E6450@idecnet.com...
> Stig Sæther Bakken wrote:
> >
> > [Edin Kadribasic <ek@proventum.net>]
>
> > > I suggest that either:
> > >
> > > 1. method quoteString() disappears from DB/common.php since its
inline
> > > documentation is misleading "(preserved for compatibility issues)"
> > >
> > > 2. method quoteString() is changed to
> > >
> > > return substr($this->quote($string),1,-1);
> > >
> > > which would be backward compatible.
> >
> > I have to agree, [2] would be the best option. We shouldn't break
> > compatibility without a good reason.
> >
>
> I had done [2] yesterday.
>
Could you please merge this change into PHP_4_0_7 branch of the php before
it is released.
Edin