From:             xuefer at 21cn dot com
Operating system: winxp
PHP version:      4.3.6
PHP Bug Type:     Filesystem function related
Bug description:  glob does not support / under windows

Description:
------------
path without driver letter(c: d:) failed to work
while other filesystem functions(file_get_contents/fopen) works
under *windows*


Reproduce code:
---------------
<?php
var_dump(glob("/abc/*"));
?>

Expected result:
----------------
array with files in $cur_driver:/abc/ ($cur_driver = driver letter of
getcwd())

Actual result:
--------------
empty array

-- 
Edit bug report at http://bugs.php.net/?id=28289&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28289&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28289&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28289&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28289&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28289&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28289&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28289&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28289&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28289&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28289&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28289&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28289&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28289&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28289&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28289&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28289&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28289&r=float

Reply via email to