summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2002-03-12 10:08:47 +0000
committerStanislav Malyshev <stas@php.net>2002-03-12 10:08:47 +0000
commit92dd5e611b897bdca8ba27cbfcdc0fc3d7416c85 (patch)
tree087380223d60df0905009249958346955cb40fc9 /Zend/zend_execute_API.c
parentbcdf9b3d4c37f12aaf9072274e74b6702f0d8817 (diff)
downloadphp-git-92dd5e611b897bdca8ba27cbfcdc0fc3d7416c85.tar.gz
- make class tables contain class_entry *, not class_entry
- fix isset($this)
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 65eb87d52b..944c2aac39 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -100,9 +100,9 @@ static int is_not_internal_function(zend_function *function TSRMLS_DC)
}
-static int is_not_internal_class(zend_class_entry *ce TSRMLS_DC)
+static int is_not_internal_class(zend_class_entry **ce TSRMLS_DC)
{
- if (ce->type == ZEND_INTERNAL_CLASS) {
+ if ((*ce)->type == ZEND_INTERNAL_CLASS) {
return EG(full_tables_cleanup) ? 0 : ZEND_HASH_APPLY_STOP;
} else {
return EG(full_tables_cleanup) ? 1 : ZEND_HASH_APPLY_REMOVE;