#46183 [Opn->Asn]: define-syslog-variables documentation unclear
| From: | kalle@php.net | Date: | Thu, 16 Oct 2008 01:22:39 +0000 |
| Subject: | #46183 [Opn->Asn]: define-syslog-variables documentation unclear | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1210@lists.php.net to get a copy of this message | ||
ID: 46183
Updated by: kalle@php.net
Reported By: php at kennelREMOVEME17 dot co dot uk
-Status: Open
+Status: Assigned
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
-Assigned To:
+Assigned To: kalle
New Comment:
define_syslog_variables() has been deprecated in 5.3 and removed in
6.0.0 as of today.
I will add a note on the define_syslog_variables function reference
about which variables it defines.
Previous Comments:
------------------------------------------------------------------------
[2008-09-26 14:43:45] php at kennelREMOVEME17 dot co dot uk
Description:
------------
The documentation at
http://php.net/manual/en/network.configuration.php#ini.define-syslog-variables
is unclear about what this setting is for. As far as I can tell, it
simply creates variables containing the constant values defined on
http://uk.php.net/manual/en/network.constants.php
(using the same
names), and I can't see why you would need to do that (why not just use
the constants?). Is this a backwards-compatibility issue, or is this
function doing something else that I've misunderstood? It would be
useful if it clarified exactly what variables are created, and why.
It might also be useful to add this to description of
define_syslog_variables() as well.
(Note I added this as a note to the page, but it was rejected and it
was suggested I report here instead. However the note is currently
still there - feel free to delete it once issue fixed if it doesn't
vanish automatically!)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46183&edit=1