From: Andrei Zmievski Date: Mon, 6 Mar 2006 21:49:21 +0000 (+0000) Subject: Fix protos to use 'string' for parameters that can be either binary or X-Git-Tag: RELEASE_1_3~517 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da831e6e0cc1d0c2728f9d39256e4109bcd8209a;p=php Fix protos to use 'string' for parameters that can be either binary or unicode. --- diff --git a/ext/standard/string.c b/ext/standard/string.c index a344c21e43..7b9f677788 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -2220,7 +2220,7 @@ PHP_FUNCTION(strstr) An alias for strstr */ /* }}} */ -/* {{{ proto int strpos(text haystack, mixed needle [, int offset]) U +/* {{{ proto int strpos(string haystack, mixed needle [, int offset]) U Finds position of first occurrence of a string within another */ PHP_FUNCTION(strpos) { @@ -3203,7 +3203,7 @@ PHP_FUNCTION(quotemeta) } /* }}} */ -/* {{{ proto int ord(text character) U +/* {{{ proto int ord(string character) U Returns the codepoint value of a character */ PHP_FUNCTION(ord) { @@ -3222,7 +3222,7 @@ PHP_FUNCTION(ord) } /* }}} */ -/* {{{ proto text chr(int codepoint) U +/* {{{ proto string chr(int codepoint) U Converts a codepoint number to a character */ PHP_FUNCTION(chr) {