php-src/ext/spl/tests/bug62262.phpt
Nikita Popov fed1f2d124 Fixed bug RecursiveArrayIterator does not implement Countable
ArrayIterator implemented Countable only after it was already inherited by
RecursiveArrayIterator. Thus the interface was missing in RAI.
2012-06-19 18:32:44 +02:00

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)