mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
11 lines
271 B
PHP
11 lines
271 B
PHP
--TEST--
|
|
Bug #48667 (Implementing both iterator and iteratoraggregate)
|
|
--FILE--
|
|
<?php
|
|
|
|
abstract class A implements Iterator, IteratorAggregate { }
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Class A cannot implement both IteratorAggregate and Iterator at the same time in %s on line %d
|