diff options
Diffstat (limited to 'ext/spl/tests/bug62262.phpt')
-rw-r--r-- | ext/spl/tests/bug62262.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/spl/tests/bug62262.phpt b/ext/spl/tests/bug62262.phpt new file mode 100644 index 0000000000..0e006ec2c2 --- /dev/null +++ b/ext/spl/tests/bug62262.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #62262: RecursiveArrayIterator does not implement Countable +--FILE-- +<?php + +var_dump(new RecursiveArrayIterator(array()) instanceof Countable); + +?> +--EXPECT-- +bool(true) |