ID: 32856
Updated by: [EMAIL PROTECTED]
Reported By: arjen at mediamonks dot com
Status: Open
Bug Type: Filesystem function related
Operating System: FreeBSD
PHP Version: 5CVS-2005-04-27 (dev)
New Comment:
Does NOT happen with Linux.
Previous Comments:
------------------------------------------------------------------------
[2005-04-27 15:08:01] arjen at mediamonks dot com
Description:
------------
file('./'); returns an array with 1 element, containing a string which
shows weird characters, but between those are some filenames of files
in the directory.
Reproduce code:
---------------
var_dump(file('./'));
Expected result:
----------------
Array(0) { }
Actual result:
--------------
array(1) { [0]=> string(512) " - lots of characters here - " }
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32856&edit=1