]> granicus.if.org Git - php/commitdiff
__wakeup doesn't have to be final
authorStanislav Malyshev <stas@php.net>
Tue, 4 Aug 2015 23:13:26 +0000 (16:13 -0700)
committerStanislav Malyshev <stas@php.net>
Tue, 4 Aug 2015 23:13:26 +0000 (16:13 -0700)
Zend/zend_exceptions.c

index 82b777a958dc419a309ac79c47eda90167454139..da32ee9610b22c3481ef0732c374a8883aa86330 100644 (file)
@@ -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)