RE: [PEAR-DEV] Re: IT[X] status update and a reminder

From: Date: Sun, 23 Feb 2003 16:10:29 +0000
Subject: RE: [PEAR-DEV] Re: IT[X] status update and a reminder
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13644@lists.php.net to get a copy of this message
> -----Original Message----- > From: Alexey Borzov [mailto:borz_off@cs.msu.su] > Sent: Sunday, February 23, 2003 4:39 PM > To: Christian Dickmann > Cc: pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] Re: IT[X] status update and a reminder > > Christian Dickmann wrote: > >>$tpl->setOption('use_preg', true); > > make this default. > Will not. Current behaviour is counter-intuitive: > http://bugs.php.net/bug.php?id=20392 > http://bugs.php.net/bug.php?id=21951 > > not documented: > http://pear.php.net/manual/en/packages.templates.it.php > > and serves no real puprose, as str_replace is faster while > preg_replace's extra features are not needed in this particular case. In > other words, it *is* a bug and this option is there only for those like > you who developed workarounds for it. > > I am saddened to hear that adding *one* setOption() call after a > template object instantiation will be too enormous a job for such people. Going by what Alexey describes here I would also agree that he sufficiently addresses BC here. Regards, Lukas

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