com php-src: Always lower name: Zend/zend_compile.c
| From: | Xinchen Hui | Date: | Wed, 25 Nov 2015 11:11:22 +0000 |
| Subject: | com php-src: Always lower name: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90022@lists.php.net to get a copy of this message | ||
Commit: 3cdbe347ae7305ec833fab6946df765d32855bc3
Author: Xinchen Hui <laruence@gmail.com> Wed, 25 Nov 2015 19:11:22 +0800
Parents: 05738eb71a05190a7a9df0f5fd1d1c4b7dd49d82
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3cdbe347ae7305ec833fab6946df765d32855bc3
Log:
Always lower name
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 201afd0..9805df0 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -4384,7 +4384,7 @@ static void zend_compile_typename(zend_ast *ast, zend_arg_info *arg_info) /*
{{{
if (type != 0) {
if (ast->attr == ZEND_NAME_FQ) {
- zend_error_noreturn(E_COMPILE_ERROR, "Cannot use the scalar type '%s' as fully
qualified with a leading backslash", ZSTR_VAL(class_name));
+ zend_error_noreturn(E_COMPILE_ERROR, "Cannot use the scalar type '%s' as fully
qualified with a leading backslash", ZSTR_VAL(zend_string_tolower(class_name)));
}
arg_info->type_hint = type;
} else {