0
0
mirror of https://github.com/php/php-src.git synced 2024-12-30 12:14:04 +08:00
php-src/Zend/tests/bug48667_2.phpt
Etienne Kneuss 12b548b5c1 Fix tests
2010-02-02 13:08:11 +00:00

11 lines
271 B
PHP

--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