diff options
author | Marcus Boerger <helly@php.net> | 2008-02-09 21:22:31 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-02-09 21:22:31 +0000 |
commit | da2a1799ca127c6799e864c03c52c82f05b3b5c1 (patch) | |
tree | fe081d73c69795f71f6a7f7dc78215942260427d | |
parent | 46b9c230084774bf4fc5803e552f2e6591392312 (diff) | |
download | php-git-da2a1799ca127c6799e864c03c52c82f05b3b5c1.tar.gz |
- MFH Windows build fix
-rw-r--r-- | Zend/zend_API.c | 3 |
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; } |