#23044 [Opn]: Constant GLOB_ONLYDIR is absent in file php4ts.dll and unusable

From: Date: Fri, 04 Apr 2003 17:28:10 +0000
Subject: #23044 [Opn]: Constant GLOB_ONLYDIR is absent in file php4ts.dll and unusable
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352461@lists.php.net to get a copy of this message
ID: 23044 Updated by: sniper@php.net Reported By: ship at omskreg dot ru Status: Open -Bug Type: Directory function related +Bug Type: Documentation problem Operating System: Windows 2000 (all Windows) PHP Version: 4.3.1 New Comment: It's just not avaialable under windows then. Previous Comments: ------------------------------------------------------------------------ [2003-04-04 02:32:11] ship at omskreg dot ru in php4ts.dll (product version 4.3.1, file version 4.3.1.1): Constant GLOB_ONLYDIR is absent (void) in file php4ts.dll. Constant GLOB_ONLYDIR is unusable in function glob(). This constant (GLOB_ONLYDIR) is present in sources. Error message in HTML code from PHP engine is: Notice: Use of undefined constant GLOB_ONLYDIR - assumed 'GLOB_ONLYDIR' in C:\Program Files\Apache Group\Apache2\htdocs\dev\lib.php on line 58 Warning: glob() expects parameter 2 to be long, string given in C:\Program Files\Apache Group\Apache2\htdocs\dev\lib.php on line 58 Source PHP code for reproduce error: $filesarray = glob("*", GLOB_ONLYDIR); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23044&edit=1

« previous php.doc (#969352461) next »