From: Marcus Boerger Date: Thu, 23 Mar 2006 11:57:15 +0000 (+0000) Subject: - Add new test X-Git-Tag: RELEASE_1_3~299 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59da8ffea1aa3ef827e19a446f9b3408b8c0df38;p=php - 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===