Date: 10/26/99
- Next message: negro: "[PHPLIB-DEV] cvs commit"
- Previous message: Massimiliano Masserelli: "Re: [PHPLIB-DEV] session.inc and special characters in strings"
- In reply to: ak <email protected>: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 26, 1999 at 01:55:00PM +0200, ak <email protected> wrote:
AK> Looks like the error reporting code of php needs a fix.
Inspired by your test, I tried this one:
printf ("%s<br>\n", ereg_replace("[a]", "gotcha!", "[a] test"));
printf ("%s<br>\n", ereg_replace("\[a\]", "gotcha!", "[a] test"));
printf ("%s<br>\n", ereg_replace("\\[a\\]", "gotcha!", "[a] test"));
The second and the third ereg_replace behave the same (gotcha! test),
but the third does not give any warning. I'm going to commit a patch ASAP.
In session.inc, line 265, instead, only one double backslash is needed.
Bye.
--
Massimiliano Masserelli | URL: http://www.interim.it/
Internet Images S.r.l. | Tel: +39-051-3390671
vicolo Viazzolo, 3 | Fax: +39-051-557890
40124 - Bologna - Italy |
-------------------------------------------------------------------------------
Morire per delle idee, d'accordo, ma di morte lenta.
-- Georges Brassens
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.
- Next message: negro: "[PHPLIB-DEV] cvs commit"
- Previous message: Massimiliano Masserelli: "Re: [PHPLIB-DEV] session.inc and special characters in strings"
- In reply to: ak <email protected>: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

