summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2003-04-01 19:37:04 +0000
committerAndrei Zmievski <andrei@php.net>2003-04-01 19:37:04 +0000
commit62f9eb8006ef7484cc1ea224c4c131b0d6f677d3 (patch)
tree559038ab451ceeb0eb5daac22bde94a5ca71feab /Zend/zend_builtin_functions.c
parente2333fd1df3e35218701af1ef5ec19fd5c9e9e5a (diff)
downloadphp-git-62f9eb8006ef7484cc1ea224c4c131b0d6f677d3.tar.gz
Split ZEND_NAMESPACE into user and internal namespaces. Hope this is
okay with engine folks.
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r--Zend/zend_builtin_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 351f04fd85..d8f016459e 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -1051,7 +1051,7 @@ static int copy_class_name(zend_class_entry **pce, int num_args, va_list args, z
zend_class_entry *ce = *pce;
if (hash_key->nKeyLength==0 || hash_key->arKey[0]!=0) {
- if (ce->type == ZEND_NAMESPACE) {
+ if (ce->type == ZEND_USER_NAMESPACE || ce->type == ZEND_INTERNAL_NAMESPACE) {
zval *subarray;
MAKE_STD_ZVAL(subarray);