cvs: ZendEngine2 / zend_builtin_functions.c
| From: | Stanislav Malyshev | Date: | Tue, 01 Apr 2003 09:27:05 +0000 |
| Subject: | cvs: ZendEngine2 / zend_builtin_functions.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1089@lists.php.net to get a copy of this message | ||
stas Tue Apr 1 04:27:05 2003 EDT
Modified files:
/ZendEngine2 zend_builtin_functions.c
Log:
fix get_declared_classes()
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.177 ZendEngine2/zend_builtin_functions.c:1.178
--- ZendEngine2/zend_builtin_functions.c:1.177 Tue Apr 1 03:26:14 2003
+++ ZendEngine2/zend_builtin_functions.c Tue Apr 1 04:27:05 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_builtin_functions.c,v 1.177 2003/04/01 08:26:14 stas Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.178 2003/04/01 09:27:05 stas Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -1082,6 +1082,9 @@
}
}
+ if(!Z_STRVAL_PP(namespace_name) || !Z_STRLEN_PP(namespace_name)) {
+ global_ns = 1;
+ }
if(!global_ns) {
convert_to_string_ex(namespace_name);