diff options
author | Anatol Belski <ab@php.net> | 2013-03-15 16:59:54 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-03-15 16:59:54 +0100 |
commit | 0ee71557ffd285552659b6aa37ea236e3bad493f (patch) | |
tree | c3fb54e689dca69415f486a8b910d69af4771359 /ext/date/php_date.h | |
parent | b7788c52f1e30e425795870e0a1450a620a41f08 (diff) | |
download | php-git-0ee71557ffd285552659b6aa37ea236e3bad493f.tar.gz |
Fixed bug #53437 Crash with unserialized DatePeriod instance
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r-- | ext/date/php_date.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h index 3af3fa42ed..efae0a1db8 100644 --- a/ext/date/php_date.h +++ b/ext/date/php_date.h @@ -101,6 +101,8 @@ PHP_FUNCTION(date_interval_format); PHP_FUNCTION(date_interval_create_from_date_string); PHP_METHOD(DatePeriod, __construct); +PHP_METHOD(DatePeriod, __wakeup); +PHP_METHOD(DatePeriod, __set_state); /* Options and Configuration */ PHP_FUNCTION(date_default_timezone_set); |