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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC