Doc #76924 [NEW]: CallbackFilterIterator::accept returns a boolean not a string

From: Date: Sun, 23 Sep 2018 16:54:28 +0000
Subject: Doc #76924 [NEW]: CallbackFilterIterator::accept returns a boolean not a string
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16013@lists.php.net to get a copy of this message
From: arnold at jasny dot net Operating system: N/A PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:CallbackFilterIterator::accept returns a boolean not a string Description: ------------ On http://php.net/manual/en/callbackfilteriterator.accept.php, the documentation states public string CallbackFilterIterator::accept ( void ) Returns TRUE to accept the current item, or FALSE otherwise. Expected result: ---------------- The return value is a boolean, so it should be public boolean CallbackFilterIterator::accept ( void ) -- Edit bug report at https://bugs.php.net/bug.php?id=76924&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76924&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76924&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76924&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76924&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76924&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76924&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76924&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76924&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76924&r=support Expected behavior: https://bugs.php.net/fix.php?id=76924&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76924&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76924&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76924&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76924&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76924&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76924&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76924&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76924&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76924&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76924&r=mysqlcfg

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