diff options
author | Andrei Zmievski <andrei@php.net> | 2003-12-31 19:44:41 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2003-12-31 19:44:41 +0000 |
commit | 87c2ba22f1181b98278d10d957c6ea65d83eaeca (patch) | |
tree | 2bc4c290d03f79b270600c8b59643ef79a69e8fe /Zend/zend_default_classes.c | |
parent | 0b91485ed5edff920135a287410f2fba3bfa5f3e (diff) | |
download | php-git-87c2ba22f1181b98278d10d957c6ea65d83eaeca.tar.gz |
Make default message look better.
Diffstat (limited to 'Zend/zend_default_classes.c')
-rw-r--r-- | Zend/zend_default_classes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_default_classes.c b/Zend/zend_default_classes.c index 6cb6475e49..0e0fa003b2 100644 --- a/Zend/zend_default_classes.c +++ b/Zend/zend_default_classes.c @@ -385,7 +385,7 @@ static void zend_register_default_exception(TSRMLS_D) memcpy(&default_exception_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); default_exception_handlers.clone_obj = NULL; - zend_declare_property_string(default_exception_ptr, "message", sizeof("message")-1, "Unknown exception", ZEND_ACC_PROTECTED TSRMLS_CC); + zend_declare_property_string(default_exception_ptr, "message", sizeof("message")-1, "none", ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_string(default_exception_ptr, "string", sizeof("string")-1, "", ZEND_ACC_PRIVATE TSRMLS_CC); zend_declare_property_long(default_exception_ptr, "code", sizeof("code")-1, 0, ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_null(default_exception_ptr, "file", sizeof("file")-1, ZEND_ACC_PROTECTED TSRMLS_CC); |