diff options
author | Stanislav Malyshev <stas@php.net> | 2008-07-10 21:58:02 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2008-07-10 21:58:02 +0000 |
commit | f7879630568ad396941d73de29f4b07f426d996b (patch) | |
tree | 9668d431db34631021213046aafc17e989d51182 /ext/intl/php_intl.c | |
parent | b82c9b946123c7279dccce97dc04f864b444e17f (diff) | |
download | php-git-f7879630568ad396941d73de29f4b07f426d996b.tar.gz |
fix date formatter positions (bug #14263)
Diffstat (limited to 'ext/intl/php_intl.c')
-rwxr-xr-x | ext/intl/php_intl.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index 2b68734dc0..bcfb424ebc 100755 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -210,6 +210,12 @@ ZEND_BEGIN_ARG_INFO_EX( grapheme_extract_args, 0, 0, 2 ) ZEND_ARG_INFO( 1, arg5 ) /* 1 = pass by reference */ ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX( datefmt_parse_args, 0, 0, 2 ) + ZEND_ARG_INFO( 0, formatter ) + ZEND_ARG_INFO( 0, string ) + ZEND_ARG_INFO( 1, position ) +ZEND_END_ARG_INFO() + /* }}} */ /* {{{ intl_functions @@ -299,8 +305,8 @@ zend_function_entry intl_functions[] = { PHP_FE( datefmt_is_lenient, NULL ) PHP_FE( datefmt_set_lenient, NULL ) PHP_FE( datefmt_format, NULL ) - PHP_FE( datefmt_parse, NULL ) - PHP_FE( datefmt_localtime , NULL ) + PHP_FE( datefmt_parse, datefmt_parse_args ) + PHP_FE( datefmt_localtime , datefmt_parse_args ) PHP_FE( datefmt_get_error_code, NULL ) PHP_FE( datefmt_get_error_message, NULL ) |