summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-02-09 21:22:31 +0000
committerMarcus Boerger <helly@php.net>2008-02-09 21:22:31 +0000
commitda2a1799ca127c6799e864c03c52c82f05b3b5c1 (patch)
treefe081d73c69795f71f6a7f7dc78215942260427d
parent46b9c230084774bf4fc5803e552f2e6591392312 (diff)
downloadphp-git-da2a1799ca127c6799e864c03c52c82f05b3b5c1.tar.gz
- MFH Windows build fix
-rw-r--r--Zend/zend_API.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 2487d5e239..dd5cd3888d 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -2312,6 +2312,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze
char *lmname, *colon;
int clen, mlen;
zend_function *fptr;
+ zend_class_entry *last_scope;
HashTable *ftable;
if (error) {
@@ -2359,7 +2360,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze
/* This is a compound name.
* Try to fetch class and then find static method. */
- zend_class_entry *last_scope = EG(scope);
+ last_scope = EG(scope);
if (ce_org) {
EG(scope) = ce_org;
}