ID: 27653 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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
