summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/dateformat/dateformat_parse.c')
-rw-r--r--ext/intl/dateformat/dateformat_parse.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/ext/intl/dateformat/dateformat_parse.c b/ext/intl/dateformat/dateformat_parse.c
index d63cce999d..17217a7923 100644
--- a/ext/intl/dateformat/dateformat_parse.c
+++ b/ext/intl/dateformat/dateformat_parse.c
@@ -75,9 +75,7 @@ static void add_to_localtime_arr( IntlDateFormatter_object *dfo, zval* return_va
}
}
-/* {{{
- * Internal function which calls the udat_parseCalendar
-*/
+/* {{{ * Internal function which calls the udat_parseCalendar */
static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* text_to_parse, size_t text_len, int32_t *parse_pos, zval *return_value)
{
UCalendar *parsed_calendar = NULL;
@@ -118,10 +116,7 @@ static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* tex
/* }}} */
-/* {{{ proto int IntlDateFormatter::parse( string $text_to_parse [, int $parse_pos] )
- * Parse the string $value starting at parse_pos to a Unix timestamp -int }}}*/
-/* {{{ proto int datefmt_parse( IntlDateFormatter $fmt, string $text_to_parse [, int $parse_pos] )
- * Parse the string $value starting at parse_pos to a Unix timestamp -int }}}*/
+/* {{{ Parse the string $value starting at parse_pos to a Unix timestamp -int */
PHP_FUNCTION(datefmt_parse)
{
char* text_to_parse = NULL;
@@ -162,10 +157,7 @@ PHP_FUNCTION(datefmt_parse)
}
/* }}} */
-/* {{{ proto int IntlDateFormatter::localtime( string $text_to_parse[, int $parse_pos] )
- * Parse the string $value to a localtime array }}}*/
-/* {{{ proto int datefmt_localtime( IntlDateFormatter $fmt, string $text_to_parse[, int $parse_pos ])
- * Parse the string $value to a localtime array }}}*/
+/* {{{ Parse the string $value to a localtime array */
PHP_FUNCTION(datefmt_localtime)
{
char* text_to_parse = NULL;