summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2003-02-16 11:12:43 +0000
committerStanislav Malyshev <stas@php.net>2003-02-16 11:12:43 +0000
commita4c3b2ce807dec309812cfe72c91a597c8476113 (patch)
treedf2e8a0aa85b595abf66f0c7b476471c3749fc11 /Zend/zend_execute.h
parent0a18a9d744afb9d97d46bad1f40c11a047bad5df (diff)
downloadphp-git-a4c3b2ce807dec309812cfe72c91a597c8476113.tar.gz
Namespace patch. Big changes:
1. Nested classes are gone. 2. New syntax for namespaces: namespace foo { class X { ... } function bar { ... } var x = 1; const ZZ = 2; } 3. Namespaced symbol access: $x = new foo::X; - etc. For now, namespaces are case insensitive, just like classes. Also, there can be no global class and namespace with the same name (to avoid ambiguities in :: resolution).
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 4168c2db92..252ea0c97b 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -69,6 +69,7 @@ static inline void safe_free_zval_ptr(zval *p)
}
ZEND_API int zend_lookup_class(char *name, int name_length, zend_class_entry ***ce TSRMLS_DC);
ZEND_API int zend_eval_string(char *str, zval *retval_ptr, char *string_name TSRMLS_DC);
+void zend_switch_namespace(zend_namespace *ns TSRMLS_DC);
static inline int i_zend_is_true(zval *op)
{