#25219 [Opn->Ana]: Wrong type for DIRECTORY_SEPERATOR constant
| From: | ali@php.net | Date: | Sat, 23 Aug 2003 14:12:12 +0000 |
| Subject: | #25219 [Opn->Ana]: Wrong type for DIRECTORY_SEPERATOR constant | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356084@lists.php.net to get a copy of this message | ||
ID: 25219
Updated by: ali@php.net
Reported By: davey@php.net
-Status: Open
+Status: Analyzed
Bug Type: Documentation problem
Operating System: irrelevant
PHP Version: Irrelevant
New Comment:
"ext/standard/dir.c" states on line 136:
REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", dirsep_str,
CONST_CS|CONST_PERSISTENT);
I did not take a closer look at REGISTER_STRING_CONSTANT, but the name
of this macro lets me assume, thats it really is a string-constant.
But maybe someone wants to correct me.
-ali
Previous Comments:
------------------------------------------------------------------------
[2003-08-23 08:13:27] davey@php.net
Description:
------------
On the page http://uk.php.net/manual/en/reserved.constants.standard.php
the constant DIRECTORY_SEPERATOR has a TYPE of (integer) when in actual
fact it is a (string) (a / or \) unless I'm missing something?
- Davey
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25219&edit=1