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