summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-01-29 00:08:08 +0000
committerAntony Dovgal <tony2001@php.net>2008-01-29 00:08:08 +0000
commit65d0aca95cf52d7c582f5be691028cf150cdda96 (patch)
treeab7e569186b6df2aded949e9b21c21df372ccf44 /Zend
parent20809972dc40530fd36a1e8c4d718f84d431e60a (diff)
downloadphp-git-65d0aca95cf52d7c582f5be691028cf150cdda96.tar.gz
MFH: fix type and bug #43646
Diffstat (limited to 'Zend')
-rw-r--r--Zend/tests/bug30922.phpt2
-rw-r--r--Zend/zend_compile.c2
2 files changed, 2 insertions, 2 deletions
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);
}
}