cvs: ZendEngine2(PHP_5_1) / zend_exceptions.c
| From: | Antony Dovgal | Date: | Sun, 04 Dec 2005 11:47:00 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_1) / zend_exceptions.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4420@lists.php.net to get a copy of this message | ||
tony2001 Sun Dec 4 06:47:00 2005 EDT
Modified files: (Branch: PHP_5_1)
/ZendEngine2 zend_exceptions.c
Log:
MFH: fix #35539 (typo in error message for ErrorException)
http://cvs.php.net/diff.php/ZendEngine2/zend_exceptions.c?r1=1.79.2.3&r2=1.79.2.4&ty=u
Index: ZendEngine2/zend_exceptions.c
diff -u ZendEngine2/zend_exceptions.c:1.79.2.3 ZendEngine2/zend_exceptions.c:1.79.2.4
--- ZendEngine2/zend_exceptions.c:1.79.2.3 Wed Nov 30 16:46:25 2005
+++ ZendEngine2/zend_exceptions.c Sun Dec 4 06:47:00 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_exceptions.c,v 1.79.2.3 2005/11/30 21:46:25 helly Exp $ */
+/* $Id: zend_exceptions.c,v 1.79.2.4 2005/12/04 11:47:00 tony2001 Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -131,7 +131,7 @@
int argc = ZEND_NUM_ARGS(), message_len;
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "|sl",
&message, &message_len, &code) == FAILURE) {
- zend_error(E_ERROR, "Wrong parameter count for exception([string $exception [, long $code
]])");
+ zend_error(E_ERROR, "Wrong parameter count for Exception([string $exception [, long $code
]])");
}
object = getThis();
@@ -157,7 +157,7 @@
int argc = ZEND_NUM_ARGS(), message_len, filename_len;
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "|sllsl",
&message, &message_len, &code, &severity, &filename, &filename_len,
&lineno) == FAILURE) {
- zend_error(E_ERROR, "Wrong parameter count for exception([string $exception [, long $code
]])");
+ zend_error(E_ERROR, "Wrong parameter count for ErrorException([string $exception [, long
$code ]])");
}
object = getThis();