summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48667_1.phpt
blob: b2e4d28769bb2d2830ce9c7c7627a5781a61d689 (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 Iterator and IteratorAggregate at the same time in %s on line %d