|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-27 15:21 UTC] sniper@php.net
[2005-04-27 15:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 20:00:01 2025 UTC |
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 - " }