cvs: php4 /ext/standard basic_functions.c

From: Date: Fri, 25 Jan 2002 15:43:58 +0000
Subject: cvs: php4 /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9179@lists.php.net to get a copy of this message
derick Fri Jan 25 10:43:58 2002 EDT Modified files: /php4/ext/standard basic_functions.c Log: - Fixed highlight_* (make it more robust) #- Thx Mr S for noticing this. Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.439 php4/ext/standard/basic_functions.c:1.440 --- php4/ext/standard/basic_functions.c:1.439 Fri Jan 25 06:27:47 2002 +++ php4/ext/standard/basic_functions.c Fri Jan 25 10:43:58 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.439 2002/01/25 11:27:47 derick Exp $ */ +/* $Id: basic_functions.c,v 1.440 2002/01/25 15:43:58 derick Exp $ */ #include "php.h" #include "php_main.h" @@ -1859,6 +1859,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &filename, &i) == FAILURE) { return; } + convert_to_string(filename); if (i) { php_start_ob_buffer (NULL, 0 TSRMLS_CC); @@ -1891,6 +1892,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &expr, &i) == FAILURE) { return; } + convert_to_string(expr); if (i) { php_start_ob_buffer (NULL, 0 TSRMLS_CC);

« previous php.cvs (#9179) next »