summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r--ext/date/php_date.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h
index 3f9fcba6bc..757059b9d7 100644
--- a/ext/date/php_date.h
+++ b/ext/date/php_date.h
@@ -47,6 +47,7 @@ PHP_FUNCTION(localtime);
PHP_FUNCTION(getdate);
/* Advanced Interface */
+PHP_METHOD(DateTime, __construct);
PHP_FUNCTION(date_create);
PHP_FUNCTION(date_parse);
PHP_FUNCTION(date_format);
@@ -59,11 +60,12 @@ PHP_FUNCTION(date_time_set);
PHP_FUNCTION(date_date_set);
PHP_FUNCTION(date_isodate_set);
+PHP_METHOD(DateTimeZone, __construct);
PHP_FUNCTION(timezone_open);
PHP_FUNCTION(timezone_name_get);
PHP_FUNCTION(timezone_name_from_abbr);
PHP_FUNCTION(timezone_offset_get);
-PHP_FUNCTION(timezone_transistions_get);
+PHP_FUNCTION(timezone_transitions_get);
PHP_FUNCTION(timezone_identifiers_list);
PHP_FUNCTION(timezone_abbreviations_list);