summaryrefslogtreecommitdiff
path: root/ext/unicode
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2006-09-21 19:30:33 +0000
committerAndrei Zmievski <andrei@php.net>2006-09-21 19:30:33 +0000
commit2fb84610166a2abc81c343558552d2b6c2127968 (patch)
tree4a5a3b6dfeb3d8b70cb6a6fc19f0cb3fe5368fbd /ext/unicode
parent1d8677bbd47a35495c98f8af3abdd89dfeab5271 (diff)
downloadphp-git-2fb84610166a2abc81c343558552d2b6c2127968.tar.gz
Fix protos.
Diffstat (limited to 'ext/unicode')
-rw-r--r--ext/unicode/transform.c4
-rw-r--r--ext/unicode/unicode.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/ext/unicode/transform.c b/ext/unicode/transform.c
index cbda48b255..36a95b52d7 100644
--- a/ext/unicode/transform.c
+++ b/ext/unicode/transform.c
@@ -18,8 +18,8 @@
#include "php_unicode.h"
-/* {{{ proto string str_transliterate(string str, string from, string to[, string variant]) U
-Transliterate a string using the alphabet provided */
+/* {{{ proto string str_transliterate(string str, string from_script, string to_script[, string variant]) U
+ Transliterate a string from the source script to the target script */
PHP_FUNCTION(str_transliterate)
{
UChar *str, *from, *to, *variant = NULL;
diff --git a/ext/unicode/unicode.c b/ext/unicode/unicode.c
index 65ca1083ce..96eb629b5d 100644
--- a/ext/unicode/unicode.c
+++ b/ext/unicode/unicode.c
@@ -233,7 +233,7 @@ PHP_FUNCTION(unicode_get_subst_char)
/* }}} */
/* {{{ proto callback unicode_set_error_handler(callback new_callback) U
-Set (or clear) the unicode conversion error handler */
+ Set (or clear) the custom Unicode conversion error handler */
PHP_FUNCTION(unicode_set_error_handler)
{
zval *error_handler;
@@ -279,8 +279,7 @@ PHP_FUNCTION(unicode_set_error_handler)
/* }}} */
/* {{{ proto bool unicode_restore_error_handler(void) U
-Restores the active error handler to the one which was previously active
-(Before the last unicode_set_error_handler() call) */
+ Restores the active error handler to the one which was previously active (before the last unicode_set_error_handler() call) */
PHP_FUNCTION(unicode_restore_error_handler)
{
if (UG(conv_error_handler)) {