Hi All

I did

echo ord ("\n");
which return 10

so I tried to do this with no success
echo addcslashes ("hello\nworld", "\10");
returning: "hello newline world"

while doing:
echo addcslashes ("hello\nworld", "\9");
returned me what I wanted: "hello\nworld" which mean the string hold

Its look like a bug, ord say" /n = 10 while addsclashes replace /n using /9
as ASCII value.
What is the list opinion ?

Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122

PHP General 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