]> granicus.if.org Git - php/commitdiff
Fix protos to use 'string' for parameters that can be either binary or
authorAndrei Zmievski <andrei@php.net>
Mon, 6 Mar 2006 21:49:21 +0000 (21:49 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 6 Mar 2006 21:49:21 +0000 (21:49 +0000)
unicode.

ext/standard/string.c

index a344c21e4392310c8e16cc4187c1a64deb04cb22..7b9f677788868bf3b37ff5950b419bcf49fe6d5b 100644 (file)
@@ -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)
 {