mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
fix typo and bug #43646
This commit is contained in:
parent
5ef04d359d
commit
392d250c32
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user