|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-30 20:52 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 18:00:01 2025 UTC |
Description: ------------ Fatal error: Class FooExtra could not implement interface IteratorAggregate in Unknown on line 0 Reproduce code: --------------- class Foo implements IteratorAggregate, Iterator { function rewind(){} function hasMore() {} function key() {} function current(){} function next() {} function valid() {} function getIterator() { return $this;} } class FooExtra extends Foo { function valid() {} } Actual result: -------------- Fatal error: Class FooExtra could not implement interface IteratorAggregate in Unknown on line 0