summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48667_2.phpt
blob: 6bc707eeeb1e29b77d51ddc14acfbbb104f9dea1 (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 IteratorAggregate, Iterator { }

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