mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
fed1f2d124
ArrayIterator implemented Countable only after it was already inherited by RecursiveArrayIterator. Thus the interface was missing in RAI.
11 lines
183 B
PHP
11 lines
183 B
PHP
--TEST--
|
|
Bug #62262: RecursiveArrayIterator does not implement Countable
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(new RecursiveArrayIterator(array()) instanceof Countable);
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|