]> granicus.if.org Git - php/commitdiff
- MFH Windows build fix
authorMarcus Boerger <helly@php.net>
Sat, 9 Feb 2008 21:22:31 +0000 (21:22 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 9 Feb 2008 21:22:31 +0000 (21:22 +0000)
Zend/zend_API.c

index 2487d5e23930f6f2ad33cf11085fe9a55bbc57a2..dd5cd3888d0f272678aa2a07fdf2222549636d9b 100644 (file)
@@ -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;
                }