cvs: ZendEngine2(PHP_5_3) / zend_compile.c /tests bug30922.phpt

[email protected] ("Antony Dovgal")
Newsgroups php.zend-engine.cvs
Message-ID <cvstony20011201565246@cvsserver>
tony2001		Tue Jan 29 00:07:26 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /ZendEngine2/tests	bug30922.phpt 
    /ZendEngine2	zend_compile.c 
  Log:
  MFH: fix typo and bug #43646 
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug30922.phpt?r1=1.2&r2=1.2.6.1&diff_format=u
Index: ZendEngine2/tests/bug30922.phpt
diff -u ZendEngine2/tests/bug30922.phpt:1.2 ZendEngine2/tests/bug30922.phpt:1.2.6.1
--- ZendEngine2/tests/bug30922.phpt:1.2	Mon Dec  6 11:53:30 2004
+++ ZendEngine2/tests/bug30922.phpt	Tue Jan 29 00:07:26 2008
@@ -10,4 +10,4 @@
 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
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.647.2.27.2.41.2.38&r2=1.647.2.27.2.41.2.39&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.38 ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.39
--- ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.38	Wed Jan 23 17:55:54 2008
+++ ZendEngine2/zend_compile.c	Tue Jan 29 00:07:26 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.38 2008/01/23 17:55:54 dmitry Exp $ */
+/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.39 2008/01/29 00:07:26 tony2001 Exp $ */
 
 #include <zend_language_parser.h>
 #include "zend.h"
@@ -2508,7 +2508,7 @@
 		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);
 	}
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.