From 83a48b2603c2b4256d5df27a8c72a50032b41c47 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 15 Sep 2003 20:30:32 +0000 Subject: Test for bug #25547 --- tests/lang/bug25547.phpt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 tests/lang/bug25547.phpt diff --git a/tests/lang/bug25547.phpt b/tests/lang/bug25547.phpt new file mode 100755 index 0000000000..cce556ceb9 --- /dev/null +++ b/tests/lang/bug25547.phpt @@ -0,0 +1,30 @@ +--TEST-- +Bug #25547 (error_handler and array index with function call) +--FILE-- + +--EXPECT-- +handler(Undefined index: foo) +Array +( + [foo] => 1 +) +Done -- cgit v1.2.1