#25219 [Ana->Csd]: Wrong type for DIRECTORY_SEPERATOR constant

From: Date: Sat, 23 Aug 2003 17:48:05 +0000
Subject: #25219 [Ana->Csd]: Wrong type for DIRECTORY_SEPERATOR constant
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356087@lists.php.net to get a copy of this message
ID: 25219 Updated by: goba@php.net Reported By: davey@php.net -Status: Analyzed +Status: Closed Bug Type: Documentation problem Operating System: irrelevant PHP Version: Irrelevant New Comment: So I have fixed the XML. Previous Comments: ------------------------------------------------------------------------ [2003-08-23 09:12:11] 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 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

« previous php.doc (#969356087) next »