diff options
author | Igor Wiedler <igor@wiedler.ch> | 2013-08-25 15:09:19 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2013-08-25 15:09:19 +0200 |
commit | 28fa0896df908fd72c1766c5a6fe22d441e96494 (patch) | |
tree | 06570b3e9a5769905135b7805efb39e2fbeb1b9a /Zend | |
parent | 84c8aa36910f58033d475efa7f7c808c83539621 (diff) | |
download | php-git-28fa0896df908fd72c1766c5a6fe22d441e96494.tar.gz |
Comment nitpick (nikic)
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index b2367cbd24..bdb0e84dcf 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -7182,7 +7182,7 @@ void zend_do_use_non_class(znode *ns_name, znode *new_name, int is_global, const lcname = zend_str_tolower_dup(Z_STRVAL_P(name), Z_STRLEN_P(name)); if (CG(current_namespace)) { - /* Prefix import name with current namespace name to avoid conflicts with classes */ + /* Prefix import name with current namespace name to avoid conflicts with functions/consts */ char *c_ns_name = emalloc(Z_STRLEN_P(CG(current_namespace)) + 1 + Z_STRLEN_P(name) + 1); zend_str_tolower_copy(c_ns_name, Z_STRVAL_P(CG(current_namespace)), Z_STRLEN_P(CG(current_namespace))); |