com php-src: __wakeup doesn't have to be final : Zend/zend_exceptions.c
| From: | Stanislav Malyshev | Date: | Tue, 04 Aug 2015 23:13:26 +0000 |
| Subject: | com php-src: __wakeup doesn't have to be final : Zend/zend_exceptions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88321@lists.php.net to get a copy of this message | ||
Commit: f1acac154ac7684bc908fc2ad8962372c9d4e312
Author: Stanislav Malyshev <stas@php.net> Tue, 4 Aug 2015 16:13:26 -0700
Parents: 0a21b5d97039945a9e5dc683f2f5e8b379f07ada
Branches: PHP-5.4 PHP-5.5 PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f1acac154ac7684bc908fc2ad8962372c9d4e312
Log:
__wakeup doesn't have to be final
Changed paths:
M Zend/zend_exceptions.c
Diff:
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index 82b777a..da32ee9 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -755,7 +755,7 @@ ZEND_END_ARG_INFO()
const static zend_function_entry default_exception_functions[] = {
ZEND_ME(exception, __clone, NULL, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
ZEND_ME(exception, __construct, arginfo_exception___construct, ZEND_ACC_PUBLIC)
- ZEND_ME(exception, __wakeup, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
+ ZEND_ME(exception, __wakeup, NULL, ZEND_ACC_PUBLIC)
ZEND_ME(exception, getMessage, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getCode, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getFile, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)