From: Antony Dovgal Date: Tue, 29 Jan 2008 00:08:08 +0000 (+0000) Subject: MFH: fix type and bug #43646 X-Git-Tag: php-5.2.6RC1~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65d0aca95cf52d7c582f5be691028cf150cdda96;p=php MFH: fix type and bug #43646 --- diff --git a/Zend/tests/bug30922.phpt b/Zend/tests/bug30922.phpt index 24d79171be..8da0f2192d 100644 --- a/Zend/tests/bug30922.phpt +++ b/Zend/tests/bug30922.phpt @@ -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 diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 3ba4cad32b..bcee0d8f91 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -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); } }