]> granicus.if.org Git - php/commitdiff
- Fix comment, too
authorMarcus Boerger <helly@php.net>
Sun, 5 Mar 2006 18:32:21 +0000 (18:32 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 5 Mar 2006 18:32:21 +0000 (18:32 +0000)
Zend/zend_compile.c

index 09eb3212a0a10999f683f48c770c45dd50621c7b..f0dc4444e4155ecb4a97117f6133702cb9318970 100644 (file)
@@ -2054,7 +2054,7 @@ static zend_bool zend_do_perform_implementation_check(zend_function *fe, zend_fu
                return 1;
        }
 
-       /* No implementation checks for constructors */
+       /* Checks for constructors only if they are declared in an interface */
        if ((fe->common.fn_flags & ZEND_ACC_CTOR) && !(proto->common.scope->ce_flags & ZEND_ACC_INTERFACE)) {
                return 1;
        }