|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 09:00:01 2025 UTC |
"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