|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55287 trunk's spl_classes() not includes CallbackFilter classes
Submitted: 2011-07-26 15:25 UTC Modified: 2011-07-27 08:49 UTC
From: sasezaki at gmail dot com Assigned: salathe (profile)
Status: Closed Package: SPL related
PHP Version: 5.4SVN-2011-07-26 (SVN) OS: any
Private report: No CVE-ID: None
 [2011-07-26 15:25 UTC] sasezaki at gmail dot com
spl_classes() not includes "CallbackFilterIterator" and "RecursiveCallbackFilterIterator".

Test script:
On terminal emulator, type as below:

php -r 'print_r(spl_classes());' | grep 'FilterIterator'

Expected result:
    [FilterIterator] => FilterIterator
    [CallbackFilterIterator] => CallbackFilterIterator
    [RecursiveFilterIterator] => RecursiveFilterIterator
    [RecursiveCallbackFilterIterator] => RecursiveCallbackFilterIterator

Actual result:
    [FilterIterator] => FilterIterator
    [RecursiveFilterIterator] => RecursiveFilterIterator


spl_classes_update (last revision 2011-07-26 15:27 UTC by sasezaki at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-27 08:48 UTC]
Automatic comment from SVN on behalf of salathe
Log: added (recursive)callbackfilteriterator to spl_classes() (bug #55287)
 [2011-07-27 08:49 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2011-07-27 08:49 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Oct 04 04:01:25 2023 UTC