From f26f786362024a93ac2b6df7095c635265cdb2ee Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 14 Aug 2008 19:17:13 +0000 Subject: [PATCH] - New test --- Zend/tests/exception_009.phpt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Zend/tests/exception_009.phpt diff --git a/Zend/tests/exception_009.phpt b/Zend/tests/exception_009.phpt new file mode 100644 index 0000000000..b22b3aa66e --- /dev/null +++ b/Zend/tests/exception_009.phpt @@ -0,0 +1,28 @@ +--TEST-- +Testing exception properties +--FILE-- +message = new stdclass ; + $this->file = new my_file ; + $this->line = "12" ; + } +} + +throw new my_exception; + +?> +--EXPECT-- +Catchable fatal error: Object of class stdClass could not be converted to string in Unknown on line 0 -- 2.50.1