From da831e6e0cc1d0c2728f9d39256e4109bcd8209a Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Mon, 6 Mar 2006 21:49:21 +0000 Subject: [PATCH] Fix protos to use 'string' for parameters that can be either binary or unicode. --- ext/standard/string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.40.0