irchtml Thu Apr 8 00:47:58 2004 EDT
Modified files:
/phpdoc/en/reference/errorfunc/functions error-log.xml
Log:
Bug #24928: error_log inconsistent in adding newline to files
http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/error-log.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/errorfunc/functions/error-log.xml
diff -u phpdoc/en/reference/errorfunc/functions/error-log.xml:1.7
phpdoc/en/reference/errorfunc/functions/error-log.xml:1.8
--- phpdoc/en/reference/errorfunc/functions/error-log.xml:1.7 Mon Dec 15 11:49:41
2003
+++ phpdoc/en/reference/errorfunc/functions/error-log.xml Thu Apr 8 00:47:58
2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.error-log">
<refnamediv>
@@ -31,7 +31,7 @@
<parameter>message</parameter> is sent to PHP's system logger, using
the Operating System's system logging mechanism or a file, depending
on what the <link linkend="ini.error-log">error_log</link>
- configuration directive is set to.
+ configuration directive is set to. This is the default option.
</entry>
</row>
<row>
@@ -67,6 +67,13 @@
</tgroup>
</table>
</para>
+ <note>
+ <simpara>
+ When explicitly specifying the <parameter>message_type</parameter> as
+ <literal>3</literal>, a newline is not automatically added to the end of
+ the <parameter>message</parameter> string.
+ </simpara>
+ </note>
<warning>
<para>
Remote debugging via TCP/IP is a PHP 3 feature that is