[PATCH] error_message in php_check_syntax should be passed by reference only
| From: | Jakub Vrana | Date: | Tue, 03 Aug 2004 16:39:35 +0000 |
| Subject: | [PATCH] error_message in php_check_syntax should be passed by reference only | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-11876@lists.php.net to get a copy of this message | ||
Second parameter to php_check_syntax should be passed by reference only.
Jakub Vrana
=================================================================== RCS file: /repository/php-src/ext/standard/basic_functions.c,v retrieving revision 1.679 diff -u -r1.679 basic_functions.c --- basic_functions.c 31 Jul 2004 17:28:27 -0000 1.679 +++ basic_functions.c 3 Aug 2004 16:36:37 -0000 @@ -479,7 +479,7 @@ PHP_FALIAS(show_source, highlight_file, NULL) PHP_FE(highlight_string, NULL) PHP_FE(php_strip_whitespace, NULL) - PHP_FE(php_check_syntax, NULL) + PHP_FE(php_check_syntax, second_arg_force_ref) PHP_FE(ini_get, NULL) PHP_FE(ini_get_all, NULL)
=================================================================== RCS file: /repository/php-src/ext/standard/basic_functions.c,v retrieving revision 1.679 diff -u -r1.679 basic_functions.c --- basic_functions.c 31 Jul 2004 17:28:27 -0000 1.679 +++ basic_functions.c 3 Aug 2004 16:36:37 -0000 @@ -479,7 +479,7 @@ PHP_FALIAS(show_source, highlight_file, NULL) PHP_FE(highlight_string, NULL) PHP_FE(php_strip_whitespace, NULL) - PHP_FE(php_check_syntax, NULL) + PHP_FE(php_check_syntax, second_arg_force_ref) PHP_FE(ini_get, NULL) PHP_FE(ini_get_all, NULL)