From: Marcus Boerger Date: Thu, 23 Mar 2006 11:57:34 +0000 (+0000) Subject: - MFH: Add new test X-Git-Tag: php-5.1.3RC2~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b4d61952f90aadd80af433c0b0fff97f6c20fd5;p=php - MFH: Add new test --- diff --git a/ext/spl/tests/array_021.phpt b/ext/spl/tests/array_021.phpt new file mode 100755 index 0000000000..f2ae0c87e5 --- /dev/null +++ b/ext/spl/tests/array_021.phpt @@ -0,0 +1,31 @@ +--TEST-- +SPL: ArrayObject::seek() and exceptions +--FILE-- +seek('bar'); +} +catch (Exception $e) +{ + echo "got exception\n"; +} + +?> +===DONE=== +--EXPECT-- +foo::seek(bar) +got exception +===DONE===