ID: 12140
Updated by: andrei
Old Status: Open
Status: Closed
Bug Type: PCRE related
Operating System: 
PHP Version: 4.0.6
New Comment:

That's right. Your  \\\\\\\\ turns into \\\\ by the time PHP string parsing is done 
with it. Then the extension looks at it and sees two escaped backslashes so that's 
what you get - two backslashes.

In general, use str_replace() for things like that.

Previous Comments:

[2001-07-13 08:51:59] [EMAIL PROTECTED]

need replace \ (one) to \\\\ (four)

On php.4.0.5 work:

On php 4.0.6 work:


Edit this bug report at

PHP Development Mailing List <>
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