mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #46755 (warning: use statement with non-compound name)
Fixed bug #46979 (use with non-compound name *has* effect)
This commit is contained in:
parent
5d060ebe05
commit
f7abb84b43
2
NEWS
2
NEWS
@ -41,6 +41,7 @@ PHP NEWS
|
||||
- Fixed building of pdo_sqlite without sqlite3. (Scott)
|
||||
|
||||
- Fixed bug #47050 (mysqli_poll() modifies improper variables). (Johannes)
|
||||
- Fixed bug #46979 (use with non-compound name *has* effect). (Dmitry)
|
||||
- Fixed bug #46957 (The tokenizer returns deprecated values). (Felipe)
|
||||
- Fixed bug #46944 (UTF-8 characters outside the BMP aren't encoded correctly).
|
||||
(Scott)
|
||||
@ -51,6 +52,7 @@ PHP NEWS
|
||||
- Fixed bug #46811 (ini_set() doesn't return false on failure). (Hannes)
|
||||
- Fixed bug #46763 (mb_stristr() wrong output when needle does not exist).
|
||||
(Henrique M. Decaria)
|
||||
- Fixed bug #46755 (warning: use statement with non-compound name). (Dmitry)
|
||||
- Fixed bug #46746 (xmlrpc_decode_request outputs non-suppressable error when
|
||||
given bad data). (Ilia)
|
||||
- Fixed bug #46738 (Segfault when mb_detect_encoding() fails). (Scott)
|
||||
|
@ -5188,7 +5188,7 @@ void zend_do_use(znode *ns_name, znode *new_name, int is_global TSRMLS_DC) /* {{
|
||||
} else {
|
||||
*name = *ns;
|
||||
zval_copy_ctor(name);
|
||||
warn = !is_global;
|
||||
warn = !is_global && !CG(current_namespace);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user