cvs: ZendEngine2 / zend_exceptions.c

From: Date: Sun, 04 Dec 2005 11:45:46 +0000
Subject: cvs: ZendEngine2 / zend_exceptions.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4419@lists.php.net to get a copy of this message
tony2001 Sun Dec 4 06:45:46 2005 EDT Modified files: /ZendEngine2 zend_exceptions.c Log: fix #35539 (typo in error message for ErrorException) http://cvs.php.net/diff.php/ZendEngine2/zend_exceptions.c?r1=1.91&r2=1.92&ty=u Index: ZendEngine2/zend_exceptions.c diff -u ZendEngine2/zend_exceptions.c:1.91 ZendEngine2/zend_exceptions.c:1.92 --- ZendEngine2/zend_exceptions.c:1.91 Thu Nov 17 17:57:17 2005 +++ ZendEngine2/zend_exceptions.c Sun Dec 4 06:45:45 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_exceptions.c,v 1.91 2005/11/17 22:57:17 helly Exp $ */ +/* $Id: zend_exceptions.c,v 1.92 2005/12/04 11:45:45 tony2001 Exp $ */ #include "zend.h" #include "zend_API.h" @@ -132,7 +132,7 @@ 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_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();

« previous php.zend-engine.cvs (#4419) next »