xref: /PHP-5.3/Zend/tests/bug48667_1.phpt (revision 18f8fa7b)
1--TEST--
2Bug #48667 (Implementing both iterator and iteratoraggregate)
3--FILE--
4<?php
5
6abstract class A implements Iterator, IteratorAggregate { }
7
8?>
9--EXPECTF--
10Fatal error: Class A cannot implement both IteratorAggregate and Iterator at the same time in %s on line %d
11