php.net |  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
Description:
------------
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

Patches

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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-27 08:48 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=313763
Log: added (recursive)callbackfilteriterator to spl_classes() (bug #55287)
 [2011-07-27 08:49 UTC] salathe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2011-07-27 08:49 UTC] salathe@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 08:01:29 2024 UTC