From 4b4d61952f90aadd80af433c0b0fff97f6c20fd5 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 23 Mar 2006 11:57:34 +0000 Subject: [PATCH] - MFH: Add new test --- ext/spl/tests/array_021.phpt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 ext/spl/tests/array_021.phpt diff --git a/ext/spl/tests/array_021.phpt b/ext/spl/tests/array_021.phpt new file mode 100755 index 00000000000..f2ae0c87e5d --- /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===