diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-29 13:29:52 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-29 13:29:52 +0100 |
commit | 6719d3e7184e712aceb00750b1befc5701af7c1b (patch) | |
tree | 9a78c7b7249fa99b995d9de6fd64c1181d0d2037 /ext/date | |
parent | 63a20cb400d064bc56254896dd8e1e921df27af8 (diff) | |
download | php-git-6719d3e7184e712aceb00750b1befc5701af7c1b.tar.gz |
Add Z_PARAM_STRING/ARRAY_OR_NULL convenience macros
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 */ |