1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/spl/tests/bug62262.phpt
Nikita Popov 4cba4c6193 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:04:14 +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)