]> granicus.if.org Git - php/commitdiff
Fixed bug #37563 (array_key_exists performance is poor for &$array).
authorIlia Alshanetsky <iliaa@php.net>
Wed, 24 May 2006 23:14:08 +0000 (23:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 24 May 2006 23:14:08 +0000 (23:14 +0000)
NEWS
ext/standard/basic_functions.c

diff --git a/NEWS b/NEWS
index 26a3c6e2a786eb139d31a73bd259dc93af080fb8..fb41f7ad3dc46708d584bdd632b066dbed98d4f0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -46,6 +46,7 @@ PHP                                                                        NEWS
 - 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)
index fbc35c71eb83be5ce8061505a925ce98ed3e3023..134b34c9269d8519d3d8e587724ee5afebd7d450 100644 (file)
@@ -815,7 +815,7 @@ zend_function_entry basic_functions[] = {
        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)