xref: /PHP-8.2/Zend/tests/bug48667_1.phpt (revision c05a9c3d)
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 Iterator and IteratorAggregate at the same time in %s on line %d
11