From: Felipe Pena Date: Thu, 14 Aug 2008 19:17:13 +0000 (+0000) Subject: - New test X-Git-Tag: php-5.2.7RC1~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f26f786362024a93ac2b6df7095c635265cdb2ee;p=php - New test --- 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