From a002ea878e8dbd830cedb0892413dac8bb811693 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Sat, 21 Dec 2013 01:10:08 +0200 Subject: [PATCH] Test case for #1683 (cherry picked from commit 0d74b3002a99c3773ef8afe9871d6dcfe0b93c9e) --- ext/tests/issue-1683.phpt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ext/tests/issue-1683.phpt diff --git a/ext/tests/issue-1683.phpt b/ext/tests/issue-1683.phpt new file mode 100644 index 00000000000..eaaa669130f --- /dev/null +++ b/ext/tests/issue-1683.phpt @@ -0,0 +1,15 @@ +--TEST-- +Phalcon\Debug - Notice: Array to string conversion in Unknown on line 0 - https://github.com/phalcon/cphalcon/issues/1683 +--SKIPIF-- + +--FILE-- +listen(); + +throw new \Exception(); +?> +--EXPECTREGEX-- +^.*$