#27653 [Opn->Csd]: DirectoryIterator::getChildren() documentation error

From: Date: Tue, 23 Mar 2004 17:09:22 +0000
Subject: #27653 [Opn->Csd]: DirectoryIterator::getChildren() documentation error
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359733@lists.php.net to get a copy of this message
ID: 27653 Updated by: nlopess@php.net Reported By: fd@php.net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: irrelevant PHP Version: 5.0.0RC1 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: ------------------------------------------------------------------------ [2004-03-19 05:58:00] fd@php.net Description: ------------ It seems that DirectoryIterator::getChildren() does not exist as shown in the documentation. http://php.net/manual/en/function.directoryiterator-getchildren.php Should be RecrusiveDirectoryIterator::getChildren() Reproduce code: --------------- <?php $DirectoryIterator = new DirectoryIterator('/var/www/foo'); var_dump($DirectoryIterator->getChildren()); ?> Expected result: ---------------- return children of directory Actual result: -------------- Fatal error: Call to undefined method DirectoryIterator::getChildren() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27653&edit=1

« previous php.doc (#969359733) next »