Re: DB->quote
| From: | (Stig Sæther Bakken) | Date: | Tue, 28 Aug 2001 08:45:39 +0000 |
| Subject: | Re: DB->quote | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1711@lists.php.net to get a copy of this message | ||
["Edin Kadribasic" <edink@proventum.net>]
> "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.
Yes, we'll do that.
- Stig
--
Stig Sæther Bakken <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway