From: Nikita Popov Date: Fri, 17 Jul 2020 14:04:55 +0000 (+0200) Subject: Add missing zpp_none call in Exception::__wakeup X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9ced0d4f7f78d65bab82678aa92602df0f9f20e;p=php Add missing zpp_none call in Exception::__wakeup --- diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 24bfa9e41a..753bcd4b4a 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -316,6 +316,8 @@ ZEND_METHOD(Exception, __construct) ZEND_METHOD(Exception, __wakeup) { + ZEND_PARSE_PARAMETERS_NONE(); + zval value, *pvalue; zval *object = ZEND_THIS; CHECK_EXC_TYPE(ZEND_STR_MESSAGE, IS_STRING);