php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #28283 path separator should be directory separator
Submitted: 2004-05-05 15:51 UTC Modified: 2004-05-05 18:29 UTC
From: todd at magnifisites dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: All
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: todd at magnifisites dot com
New email:
PHP Version: OS:

 

 [2004-05-05 15:51 UTC] todd at magnifisites dot com
Description:
------------
On the dirname function page of the documentation, there is a  sentence referring to the path separator character.  Actually, this should refer to the directory separator character to more closely match the PHP constant definitions of PATH_SEPARATOR and DIRECTORY_SEPARATOR.

Reproduce code:
---------------
The current documentation:

On Windows, both slash (/) and backslash (\) are used as path separator character. In other environments, it is the forward slash (/).

Expected result:
----------------
On Windows, both slash (/) and backslash (\) are used as directory separator character. In other environments, it is the forward slash (/).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-05 18:29 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=e17f3034bb975f5ecf7a52f4bb267d55ff70caaa
Log: fix #28283: path separator->directory separator
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 11:00:02 2025 UTC