summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48667_1.phpt
blob: 2d94aed2bf207086b932c203e3465812fa974b1e (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #48667 (Implementing both iterator and iteratoraggregate)
--FILE--
<?php

abstract class A implements Iterator, IteratorAggregate { }

?>
--EXPECTF--
Fatal error: Class A cannot implement both IteratorAggregate and Iterator at the same time in %s on line %d