From 59da8ffea1aa3ef827e19a446f9b3408b8c0df38 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 23 Mar 2006 11:57:15 +0000 Subject: [PATCH] - 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 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=== -- 2.40.0