Skip to content

Commit

Permalink
Add missing zpp_none call in Exception::__wakeup
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jul 17, 2020
1 parent 954244b commit f9ced0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Zend/zend_exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f9ced0d

Please sign in to comment.