andrei Mon Mar 6 21:49:22 2006 UTC
Modified files:
/php-src/ext/standard string.c
Log:
Fix protos to use 'string' for parameters that can be either binary or
unicode.
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/string.c?r1=1.523&r2=1.524&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.523 php-src/ext/standard/string.c:1.524
--- php-src/ext/standard/string.c:1.523 Fri Mar 3 08:50:25 2006
+++ php-src/ext/standard/string.c Mon Mar 6 21:49:21 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.523 2006/03/03 08:50:25 dmitry Exp $ */
+/* $Id: string.c,v 1.524 2006/03/06 21:49:21 andrei Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2220,7 +2220,7 @@
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 @@
}
/* }}} */
-/* {{{ 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 @@
}
/* }}} */
-/* {{{ proto text chr(int codepoint) U
+/* {{{ proto string chr(int codepoint) U
Converts a codepoint number to a character */
PHP_FUNCTION(chr)
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php