fix typo and bug #43646

This commit is contained in:
Antony Dovgal 2008-01-29 00:06:42 +00:00
parent 5ef04d359d
commit 392d250c32
2 changed files with 2 additions and 2 deletions

View 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

View File

@ -2721,7 +2721,7 @@ static inline void do_implement_interface(zend_class_entry *ce, zend_class_entry
zend_error(E_CORE_ERROR, "Class %v could not implement interface %v", ce->name, iface->name);
}
if (ce == iface) {
zend_error(E_ERROR, "Interface %v cannot not implement itself", ce->name);
zend_error(E_ERROR, "Interface %v cannot implement itself", ce->name);
}
}
/* }}} */