From:             todd at magnifisites dot com
Operating system: All
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  path separator should be directory separator

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 (/).


-- 
Edit bug report at http://bugs.php.net/?id=28283&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28283&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28283&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28283&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28283&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28283&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28283&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28283&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28283&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28283&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28283&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28283&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28283&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28283&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28283&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28283&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28283&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28283&r=float

Reply via email to