From:             [EMAIL PROTECTED]
Operating system: irrelevant
PHP version:      5.0.0RC1
PHP Bug Type:     Documentation problem
Bug description:  DirectoryIterator::getChildren() documentation error

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 bug report at http://bugs.php.net/?id=27653&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27653&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27653&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27653&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27653&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27653&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27653&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27653&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27653&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27653&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27653&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27653&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27653&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27653&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27653&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27653&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27653&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27653&r=float

Reply via email to