com php-src: __wakeup doesn't have to be final : Zend/zend_exceptions.c
| From: | Ferenc Kovacs | Date: | Thu, 06 Aug 2015 07:17:51 +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-88343@lists.php.net to get a copy of this message | ||
Commit: bbc213d3cf5488fdd79caddd76ebf2af10f4ac85
Author: Stanislav Malyshev <stas@php.net> Tue, 4 Aug 2015 16:13:26 -0700
Committer: Ferenc Kovacs <tyrael@php.net> Thu, 6 Aug 2015 09:17:51 +0200
Parents: ab2abe322f5c6192424cb14dcc0828d7c8b95ba1
Branches: PHP-5.6.12
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bbc213d3cf5488fdd79caddd76ebf2af10f4ac85
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 806c2ef...40248f7 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)