#38592 [Opn->Bgs]: PDOStatement child classes cannot implement iterator

From: Date: Fri, 25 Aug 2006 21:36:33 +0000
Subject: #38592 [Opn->Bgs]: PDOStatement child classes cannot implement iterator
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101350@lists.php.net to get a copy of this message
ID: 38592 Updated by: tony2001@php.net Reported By: php dot net at benjamin dot schulz dot name -Status: Open +Status: Bogus Bug Type: PDO related Operating System: linux PHP Version: 5.2.0RC2 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2006-08-25 16:05:55] php dot net at benjamin dot schulz dot name Description: ------------ classes that inherit PDOStatement cannot implement Iterator Reproduce code: --------------- class FOO extends PDOStatement implements Iterator { public function current() {} public function key() {} public function next() {} public function rewind() {} public function valid() {} } Actual result: -------------- Fatal error: Class FOO could not implement interface Iterator in Unknown on line 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38592&edit=1

« previous php.bugs (#101350) next »