mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
fix get_declared_classes()
This commit is contained in:
parent
59af205988
commit
334702d69a
@ -1082,6 +1082,9 @@ ZEND_FUNCTION(get_declared_classes)
|
||||
}
|
||||
}
|
||||
|
||||
if(!Z_STRVAL_PP(namespace_name) || !Z_STRLEN_PP(namespace_name)) {
|
||||
global_ns = 1;
|
||||
}
|
||||
|
||||
if(!global_ns) {
|
||||
convert_to_string_ex(namespace_name);
|
||||
|
Loading…
Reference in New Issue
Block a user