diff options
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/php_date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index dfad240fb1..6e878063eb 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -4444,7 +4444,7 @@ PHP_FUNCTION(timezone_identifiers_list) ZEND_PARSE_PARAMETERS_START(0, 2) Z_PARAM_OPTIONAL Z_PARAM_LONG(what) - Z_PARAM_STRING_EX(option, option_len, 1, 0) + Z_PARAM_STRING_OR_NULL(option, option_len) ZEND_PARSE_PARAMETERS_END(); /* Extra validation */ |