cvs: ZendEngine2(PHP_5_2) / zend_compile.c php-src NEWS

From: Date: Sat, 27 May 2006 18:23:48 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_compile.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4933@lists.php.net to get a copy of this message
johannes Sat May 27 18:23:48 2006 UTC Modified files: (Branch: PHP_5_2) /php-src NEWS /ZendEngine2 zend_compile.c Log: - MFH Fix #37614 (Class name lowercased in error message) http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.547.2.56&r2=1.2027.2.547.2.57&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.56 php-src/NEWS:1.2027.2.547.2.57 --- php-src/NEWS:1.2027.2.547.2.56 Fri May 26 09:02:33 2006 +++ php-src/NEWS Sat May 27 18:23:48 2006 @@ -46,6 +46,7 @@ - Added RFC2397 (data: stream) support. (Marcus) - Fixed memory leaks in openssl streams context options (Pierre) - Fixed handling of extremely long paths inside tempnam() function. (Ilia) +- Fixed bug #37614 (Class name lowercased in error message). (Johannes) - Fixed bug #37587 (var without attribute causes segfault). (Marcus) - Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters). (Ilia) - Fixed bug #37565 (Using reflection::export with simplexml causing a crash). http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_compile.c?r1=1.647.2.27.2.4&r2=1.647.2.27.2.5&diff_format=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.647.2.27.2.4 ZendEngine2/zend_compile.c:1.647.2.27.2.5 --- ZendEngine2/zend_compile.c:1.647.2.27.2.4 Thu May 11 21:07:39 2006 +++ ZendEngine2/zend_compile.c Sat May 27 18:23:48 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.647.2.27.2.4 2006/05/11 21:07:39 helly Exp $ */ +/* $Id: zend_compile.c,v 1.647.2.27.2.5 2006/05/27 18:23:48 johannes Exp $ */ #include <zend_language_parser.h> #include "zend.h" @@ -2306,7 +2306,7 @@ * so we shut up about it. This allows the if (!defined('FOO')) { return; } * approach to work. */ - zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", opline->op2.u.constant.value.str.val); + zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", ce->name); } return NULL; } else { @@ -2332,7 +2332,7 @@ * so we shut up about it. This allows the if (!defined('FOO')) { return; } * approach to work. */ - zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", opline->op2.u.constant.value.str.val); + zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", ce->name); } return NULL; } else { @@ -2349,7 +2349,7 @@ /* Register the derived class */ if (zend_hash_add(class_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len+1, pce, sizeof(zend_class_entry *), NULL)==FAILURE) { - zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", opline->op2.u.constant.value.str.val); + zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", ce->name); ce->refcount--; zend_hash_destroy(&ce->function_table); zend_hash_destroy(&ce->default_properties);

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