error_log ignoring \ (like \n)
| From: | Peter Ford | Date: | Sun, 16 Jan 2005 02:37:06 +0000 |
| Subject: | error_log ignoring \ (like \n) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25345@lists.php.net to get a copy of this message | ||
I just used WAMP5 to install apache 1.3.33 and php 4.3.10 on Windows XP.
All is good except that when i do a:
error_log("this\nis\na\ntest");
the output in the error.log looks like:
[Sat Jan 15 11:24:51 2005] [error] this\nis\na\ntest
If i run the same on other servers it comes out like:
[Sat Jan 15 11:24:51 2005] [error] this
is
a
test
Any ideas why???