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

From: Date: Fri, 04 Apr 2003 21:36:48 +0000
Subject: #23044 [Opn->Fbk]: Constant GLOB_ONLYDIR is absent in file php4ts.dll and unusable
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352467@lists.php.net to get a copy of this message
ID: 23044 Updated by: alindeman@php.net Reported By: ship at omskreg dot ru -Status: Open +Status: Feedback Bug Type: Documentation problem Operating System: Windows 2000 (all Windows) PHP Version: 4.3.1 -Assigned To: +Assigned To: alindeman New Comment: Is that the only constant that isn't defined (I need to know before making a note of this in the docs)? Assigning to myself... Previous Comments: ------------------------------------------------------------------------ [2003-04-04 11:28:09] sniper@php.net It's just not avaialable under windows then. ------------------------------------------------------------------------ [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 (#969352467) next »