cvs: php-src /ext/standard basic_functions.c

From: Date: Tue, 21 Nov 2006 18:40:59 +0000
Subject: cvs: php-src /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41675@lists.php.net to get a copy of this message
andrei Tue Nov 21 18:40:59 2006 UTC Modified files: /php-src/ext/standard basic_functions.c Log: Unicode support in highlight_string(). http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.822&r2=1.823&diff_format=u Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.822 php-src/ext/standard/basic_functions.c:1.823 --- php-src/ext/standard/basic_functions.c:1.822 Fri Nov 10 11:42:40 2006 +++ php-src/ext/standard/basic_functions.c Tue Nov 21 18:40:58 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.822 2006/11/10 11:42:40 dmitry Exp $ */ +/* $Id: basic_functions.c,v 1.823 2006/11/21 18:40:58 andrei Exp $ */ #include "php.h" #include "php_streams.h" @@ -5477,7 +5477,7 @@ } /* }}} */ -/* {{{ proto bool highlight_string(string string [, bool return] ) +/* {{{ proto bool highlight_string(string string [, bool return] ) U Syntax highlight a string or optionally return it */ PHP_FUNCTION(highlight_string) { @@ -5490,7 +5490,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z|b", &expr, &i) == FAILURE) { RETURN_FALSE; } - convert_to_string_ex(expr); + convert_to_text_ex(expr); if (i) { php_output_start_default(TSRMLS_C);

« previous php.cvs (#41675) next »