php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #25219 Wrong type for DIRECTORY_SEPERATOR constant
Submitted: 2003-08-23 08:13 UTC Modified: 2003-08-23 12:48 UTC
From: davey@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: davey@php.net
New email:
PHP Version: OS:

 

 [2003-08-23 08:13 UTC] 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


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-23 09:12 UTC] ali@php.net
"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

 [2003-08-23 12:48 UTC] goba@php.net
So I have fixed the XML.
 [2020-02-07 09:57 UTC] phpdocbot@php.net
Automatic comment on behalf of ali
Revision: http://git.php.net/?p=doc/de.git;a=commit;h=7845620a87c4993ed37b0b48a58b0bdb65d342c4
Log: fixed #25219
 [2020-12-30 11:15 UTC] nikic@php.net
Automatic comment on behalf of ali
Revision: http://git.php.net/?p=doc/de.git;a=commit;h=026dd6844bc53dce2422ec8624f39fca872231e4
Log: fixed #25219
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Sep 10 16:01:28 2024 UTC