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

index 9738ed5cd9bb8a55ae46c2d361902d12fafe736b..29b29bea9723ceb4b797652417d005469e851000 100644 (file)
@@ -2650,6 +2650,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze
        zstr lmname, mname, colon = NULL_ZSTR;
        unsigned int clen = 0, mlen;
        zend_function *fptr;
+       zend_class_entry *last_scope;
        HashTable *ftable;
 
        if (error) {
@@ -2721,7 +2722,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze
        if (colon.v != NULL) {
                /* 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;
                }