cvs: php-src(PHP_5_2) / NEWS /ext/standard basic_functions.c
| From: | Ilia Alshanetsky | Date: | Wed, 24 May 2006 23:14:09 +0000 |
| Subject: | cvs: php-src(PHP_5_2) / NEWS /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38403@lists.php.net to get a copy of this message | ||
iliaa Wed May 24 23:14:09 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard basic_functions.c
/php-src NEWS
Log:
Fixed bug #37563 (array_key_exists performance is poor for &$array).
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/basic_functions.c?r1=1.725.2.31.2.3&r2=1.725.2.31.2.4&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.725.2.31.2.3
php-src/ext/standard/basic_functions.c:1.725.2.31.2.4
--- php-src/ext/standard/basic_functions.c:1.725.2.31.2.3 Fri May 19 06:09:14 2006
+++ php-src/ext/standard/basic_functions.c Wed May 24 23:14:08 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.725.2.31.2.3 2006/05/19 06:09:14 dmitry Exp $ */
+/* $Id: basic_functions.c,v 1.725.2.31.2.4 2006/05/24 23:14:08 iliaa Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -815,7 +815,7 @@
PHP_FE(array_map, NULL)
PHP_FE(array_chunk, NULL)
PHP_FE(array_combine, NULL)
- PHP_FE(array_key_exists, NULL)
+ PHP_FE(array_key_exists, all_args_prefer_ref)
/* aliases from array.c */
PHP_FALIAS(pos, current, first_arg_force_ref)
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.547.2.45&r2=1.2027.2.547.2.46&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.45 php-src/NEWS:1.2027.2.547.2.46
--- php-src/NEWS:1.2027.2.547.2.45 Wed May 24 22:04:57 2006
+++ php-src/NEWS Wed May 24 23:14:08 2006
@@ -46,6 +46,7 @@
- Added RFC2397 (data: stream) support. (Marcus)
- Fixed bug #37565 (Using reflection::export with simplexml causing a crash).
(Marcus)
+- Fixed bug #37563 (array_key_exists performance is poor for &$array). (Ilia)
- Fixed bug #37514 (strtotime doesn't assume year correctly). (Derick)
- Fixed bug #37510 (session_regenerate_id changes session_id() even on
failure). (Hannes)