]> granicus.if.org Git - php/commitdiff
MFH: fix type and bug #43646
authorAntony Dovgal <tony2001@php.net>
Tue, 29 Jan 2008 00:08:08 +0000 (00:08 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 29 Jan 2008 00:08:08 +0000 (00:08 +0000)
Zend/tests/bug30922.phpt
Zend/zend_compile.c

index 24d79171be217695c7331599007a82fe9aa7e755..8da0f2192d82a5a87bb0007514029caebca27bae 100644 (file)
@@ -10,4 +10,4 @@ var_dump($a instanceOf A);
 echo "ok\n";
 ?>
 --EXPECTF--
-Fatal error: Interface RecurisiveFooFar cannot not implement itself in %sbug30922.php on line %d
+Fatal error: Interface RecurisiveFooFar cannot implement itself in %sbug30922.php on line %d
index 3ba4cad32b82d02afc233de4f4ebe6cb422458ab..bcee0d8f9152f54ef0eeb7db6758a1622e4d0c71 100644 (file)
@@ -2222,7 +2222,7 @@ static inline void do_implement_interface(zend_class_entry *ce, zend_class_entry
                zend_error(E_CORE_ERROR, "Class %s could not implement interface %s", ce->name, iface->name);
        }
        if (ce == iface) {
-               zend_error(E_ERROR, "Interface %s cannot not implement itself", ce->name);
+               zend_error(E_ERROR, "Interface %s cannot implement itself", ce->name);
        }
 }