summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48667_2.phpt
blob: 57cd5eb8b8ee83f589c75452b78ee69451ba6d3b (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