cvs: ZendEngine2 / zend_exceptions.c php-src NEWS
| From: | Jani Taskinen | Date: | Tue, 02 Aug 2005 16:31:53 +0000 |
| Subject: | cvs: ZendEngine2 / zend_exceptions.c php-src NEWS | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3953@lists.php.net to get a copy of this message | ||
sniper Tue Aug 2 12:31:53 2005 EDT
Modified files:
/php-src NEWS
/ZendEngine2 zend_exceptions.c
Log:
- Fixed bug #33967 (misuse of Exception constructor doesn\'t display errorfile)
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2016&r2=1.2017&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2016 php-src/NEWS:1.2017
--- php-src/NEWS:1.2016 Tue Aug 2 02:33:51 2005
+++ php-src/NEWS Tue Aug 2 12:31:52 2005
@@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2005, PHP 5.1
+- Fixed bug #33967 (misuse of Exception constructor doesn't display errorfile).
+ (Jani)
- Fixed bug #33917 (number_format() output with > 1 char separators). (Jani)
- Fixed bug #33904 (input array keys being escaped when magic quotes is off).
(Ilia)
http://cvs.php.net/diff.php/ZendEngine2/zend_exceptions.c?r1=1.77&r2=1.78&ty=u
Index: ZendEngine2/zend_exceptions.c
diff -u ZendEngine2/zend_exceptions.c:1.77 ZendEngine2/zend_exceptions.c:1.78
--- ZendEngine2/zend_exceptions.c:1.77 Mon Jun 27 14:13:13 2005
+++ ZendEngine2/zend_exceptions.c Tue Aug 2 12:31:53 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_exceptions.c,v 1.77 2005/06/27 18:13:13 stas Exp $ */
+/* $Id: zend_exceptions.c,v 1.78 2005/08/02 16:31:53 sniper Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -132,7 +132,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_CORE_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();
@@ -158,7 +158,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_CORE_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();