summaryrefslogtreecommitdiff
path: root/ext/date/php_date.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/php_date.c')
-rw-r--r--ext/date/php_date.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 0ca617b719..cb4bbb1553 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -30,7 +30,7 @@
#include <time.h>
/* {{{ Function table */
-function_entry date_functions[] = {
+zend_function_entry date_functions[] = {
PHP_FE(strtotime, NULL)
PHP_FE(date, NULL)
PHP_FE(idate, NULL)
@@ -76,7 +76,7 @@ function_entry date_functions[] = {
};
#ifdef EXPERIMENTAL_DATE_SUPPORT
-function_entry date_funcs_date[] = {
+zend_function_entry date_funcs_date[] = {
ZEND_NAMED_FE(format, ZEND_FN(date_format), NULL)
ZEND_NAMED_FE(modify, ZEND_FN(date_modify), NULL)
ZEND_NAMED_FE(getTimezone, ZEND_FN(date_timezone_get), NULL)
@@ -88,7 +88,7 @@ function_entry date_funcs_date[] = {
{NULL, NULL, NULL}
};
-function_entry date_funcs_timezone[] = {
+zend_function_entry date_funcs_timezone[] = {
ZEND_NAMED_FE(getName, ZEND_FN(timezone_name_get), NULL)
ZEND_NAMED_FE(getOffset, ZEND_FN(timezone_offset_get), NULL)
ZEND_NAMED_FE(getTransistions, ZEND_FN(timezone_transistions_get), NULL)