summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-12-04 11:45:45 +0000
committerAntony Dovgal <tony2001@php.net>2005-12-04 11:45:45 +0000
commitced6ef40cd8434f7ead4e3ed4c34dc00ded77e61 (patch)
tree1d390fbbde17d0b78551346a62e32c8035178e27
parentc7631a2dca6c4ecac0c3e81faa7e5afffe179885 (diff)
downloadphp-git-ced6ef40cd8434f7ead4e3ed4c34dc00ded77e61.tar.gz
fix #35539 (typo in error message for ErrorException)
-rw-r--r--Zend/zend_exceptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index ce012cd66f..87aa13eebb 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -132,7 +132,7 @@ ZEND_METHOD(exception, __construct)
zend_uchar message_type;
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "|tl", &message, &message_len, &message_type, &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();
@@ -171,7 +171,7 @@ ZEND_METHOD(error_exception, __construct)
zend_uchar message_type, file_type;
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "|tlltl", &message, &message_len, &message_type, &code, &severity, &filename, &filename_len, &file_type, &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();