#50090 [NEW]: Typo in IteratorIterator constructor

From: Date: Thu, 05 Nov 2009 16:13:35 +0000
Subject: #50090 [NEW]: Typo in IteratorIterator constructor
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-144297@lists.php.net to get a copy of this message
From: wimartin at uk dot ibm dot com Operating system: Windows XP PHP version: 5.2SVN-2009-11-05 (snap) PHP Bug Type: SPL related Bug description: Typo in IteratorIterator constructor 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". -- Edit bug report at http://bugs.php.net/?id=50090&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50090&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50090&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50090&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50090&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50090&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50090&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50090&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50090&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50090&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50090&r=support Expected behavior: http://bugs.php.net/fix.php?id=50090&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50090&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50090&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50090&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50090&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50090&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50090&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50090&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50090&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50090&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50090&r=mysqlcfg

« previous php.bugs (#144297) next »