ID:               23044
 Updated by:       [EMAIL PROTECTED]
 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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to