php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56332 PDOStatement implement SPL Traversable
Submitted: 2005-02-26 06:54 UTC Modified: 2005-02-27 20:02 UTC
From: Jared dot Williams1 at ntlworld dot com Assigned: helly (profile)
Status: Closed Package: PDO (PECL)
PHP Version: PDO 0.2.4 OS: *
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: Jared dot Williams1 at ntlworld dot com
New email:
PHP Version: OS:

 

 [2005-02-26 06:54 UTC] Jared dot Williams1 at ntlworld dot com
Description:
------------
If can iterator over PDOStatement like

$stmt->execute(..)
$stmt->setFetchMode(PDO_..);
foreach($stmt as $blah)
{
...
}

shouldn't PDOStatement implement the Traversable interface, or even more ideally either Iterator or IteratorAggregate?




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-27 20:02 UTC] helly@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 00:01:28 2024 UTC