Skip to content

Commit f9ced0d

Browse files
committed
Add missing zpp_none call in Exception::__wakeup
1 parent 954244b commit f9ced0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_exceptions.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ ZEND_METHOD(Exception, __construct)
316316

317317
ZEND_METHOD(Exception, __wakeup)
318318
{
319+
ZEND_PARSE_PARAMETERS_NONE();
320+
319321
zval value, *pvalue;
320322
zval *object = ZEND_THIS;
321323
CHECK_EXC_TYPE(ZEND_STR_MESSAGE, IS_STRING);

0 commit comments

Comments
 (0)