cvs: php-src /ext/standard basic_functions.c
| From: | Andrei Zmievski | Date: | Tue, 21 Nov 2006 18:45:21 +0000 |
| Subject: | cvs: php-src /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41676@lists.php.net to get a copy of this message | ||
andrei Tue Nov 21 18:45:21 2006 UTC
Modified files:
/php-src/ext/standard basic_functions.c
Log:
Note.
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.823&r2=1.824&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.823 php-src/ext/standard/basic_functions.c:1.824
--- php-src/ext/standard/basic_functions.c:1.823 Tue Nov 21 18:40:58 2006
+++ php-src/ext/standard/basic_functions.c Tue Nov 21 18:45:21 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.823 2006/11/21 18:40:58 andrei Exp $ */
+/* $Id: basic_functions.c,v 1.824 2006/11/21 18:45:21 andrei Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -5479,6 +5479,12 @@
/* {{{ proto bool highlight_string(string string [, bool return] ) U
Syntax highlight a string or optionally return it */
+
+/* TODO documentation:
+ * This function will return/ouput UTF-8 if the arg is a Unicode string. Users
+ * should switch their output encoding to UTF-8 when highlighting or manually
+ * convert result to their desired encoding.
+ */
PHP_FUNCTION(highlight_string)
{
zval **expr;