Doc #60443 [Opn->Csd]: Readdir also returns folders

From: Date: Sun, 04 Dec 2011 23:34:48 +0000
Subject: Doc #60443 [Opn->Csd]: Readdir also returns folders
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7573@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60443&edit=1 ID: 60443 Updated by: frozenfire@php.net Reported by: joel at walker9 dot net Summary: Readdir also returns folders -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Windows PHP Version: Irrelevant -Assigned To: +Assigned To: frozenfire Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2011-12-04 23:34:38] frozenfire@php.net Automatic comment from SVN on behalf of frozenfire Revision: http://svn.php.net/viewvc/?view=revision&revision=320392 Log: Clarified that readdir will return all entries in a directory, not just the files. Updated examples to reflect that. Closes bug #60443. ------------------------------------------------------------------------ [2011-12-04 23:04:32] joel at walker9 dot net Description: ------------ --- From manual page: http://www.php.net/function.readdir --- The readdir function returns both files and folders in a directory, but the documentation only mentions readdir returning filenames. Documentation should be changed to acknowledge that readdir will also return directories. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60443&edit=1

« previous php.doc.bugs (#7573) next »