php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50090 Typo in IteratorIterator constructor
Submitted: 2009-11-05 16:13 UTC Modified: 2009-11-07 21:27 UTC
From: wimartin at uk dot ibm dot com Assigned:
Status: Closed Package: SPL related
PHP Version: 5.2SVN-2009-11-05 (snap) OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wimartin at uk dot ibm dot com
New email:
PHP Version: OS:

 

 [2009-11-05 16:13 UTC] wimartin at uk dot ibm dot com
Description:
------------
In case DIT_IteratorIterator under spl_dual_it_construct in iterators.c there is a typo in the following exception.

zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "%s::getIterator() must return an object that implememnts Traversable", ce->name);

"implememnts" should in fact be "implements". 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-07 21:27 UTC] svn@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=290392
Log: - Fixed bug #50090 (Typo in IteratorIterator constructor)
 [2009-11-07 21:27 UTC] felipe@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/.
 
Thank you for the report, and for helping us make PHP better.

Thanks.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC