Skip to content

Commit

Permalink
Fix proto documents for new global functions
Browse files Browse the repository at this point in the history
See NEWS and UPGRADING (or arginfo/implementation) for details.
  • Loading branch information
TysonAndre authored and krakjoe committed Nov 6, 2017
1 parent 88e94a0 commit 5cdf37e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ext/mbstring/mbstring.c
Original file line number Diff line number Diff line change
Expand Up @@ -5109,7 +5109,7 @@ static inline zend_long php_mb_ord(const char* str, size_t str_len, const char*
}


/* {{{ proto bool mb_ord([string str[, string encoding]]) */
/* {{{ proto int|false mb_ord([string str[, string encoding]]) */
PHP_FUNCTION(mb_ord)
{
char* str;
Expand Down Expand Up @@ -5233,7 +5233,7 @@ static inline char* php_mb_chr(zend_long cp, const char* enc, size_t *output_len
}


/* {{{ proto bool mb_ord([int cp[, string encoding]]) */
/* {{{ proto string|false mb_chr([int cp[, string encoding]]) */
PHP_FUNCTION(mb_chr)
{
zend_long cp;
Expand Down Expand Up @@ -5268,7 +5268,7 @@ static inline char* php_mb_scrub(const char* str, size_t str_len, const char* en
}


/* {{{ proto bool mb_scrub([string str[, string encoding]]) */
/* {{{ proto string|false mb_scrub([string str[, string encoding]]) */
PHP_FUNCTION(mb_scrub)
{
char* str;
Expand Down
4 changes: 2 additions & 2 deletions ext/standard/streamsfuncs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ PHP_FUNCTION(stream_supports_lock)
RETURN_TRUE;
}

/* {{{ proto proto stream_isatty(resource stream)
/* {{{ proto bool stream_isatty(resource stream)
Check if a stream is a TTY.
*/
PHP_FUNCTION(stream_isatty)
Expand Down Expand Up @@ -1658,7 +1658,7 @@ PHP_FUNCTION(stream_isatty)
}

#ifdef PHP_WIN32
/* {{{ proto proto sapi_windows_vt100_support(resource stream[, bool enable])
/* {{{ proto bool sapi_windows_vt100_support(resource stream[, bool enable])
Get or set VT100 support for the specified stream associated to an
output buffer of a Windows console.
*/
Expand Down

0 comments on commit 5cdf37e

Please sign in to comment.