Re: [PHPLIB] Bad escape sequence in session.inc? From: Chad Cunningham (ccunning <email protected>)
Date: 11/14/99

>From a regex point of view, these should be the same thing...

Chuck Hagenbuch wrote:
>
> Quoting David Tiselius <david.t <email protected>>:
>
> > Yupp, that's it. Thanks!
> >
> > I changed line 265 in session.inc from
> >
> > ... ereg_replace("([\\\'])", "\\\\1", $k) ...
> >
> > to
> >
> > ... ereg_replace("([\\'])", "\\\\1", $k) ...
> >
> > and the warnings are gone.
> > I'm not breaking anything else with this am I?
>
> I'm not the person to ask. PHPLIB gurus?
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.