On Sat, Jan 05, 2002 at 04:30:10PM -0800, Jim Winstead wrote : 
> On Sun, Jan 06, 2002 at 01:14:23AM +0100, Markus Fischer wrote:
> > On Sun, Jan 06, 2002 at 12:05:45AM -0000, [EMAIL PROTECTED] wrote : 
> > > ereg_replace is behaving as designed, more or less. the behavior of an
> > > empty first parameter is undefined (although with the bundled regular
> > > expression engine, it will leave the string unchanged and display an
> > > error message). 
> > 
> >     To me its quite defined. You get REG_EMPTY warning and the
> >     return value is false (at leat, since 4.0.6).
> 
> it depends on the regex library used. the bundled one returns REG_EMPTY,
> various system regex libraries may behave as the bug reporter saw. if we
> want to define one, we should be checking it ourselves.

    Then we should add such a note to the manual.

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to