summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-03-15 16:59:54 +0100
committerAnatol Belski <ab@php.net>2013-03-15 16:59:54 +0100
commit0ee71557ffd285552659b6aa37ea236e3bad493f (patch)
treec3fb54e689dca69415f486a8b910d69af4771359 /ext/date/php_date.h
parentb7788c52f1e30e425795870e0a1450a620a41f08 (diff)
downloadphp-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.h2
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);