diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-05-24 23:14:08 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-05-24 23:14:08 +0000 |
commit | 53988d8cf55468411da16fc6e90dc793c9ee314d (patch) | |
tree | 024af5a94f8ddb2aa78a3a29f6334664d9509b28 | |
parent | 755caecfc961b39c1684868836e3a06825f8f50b (diff) | |
download | php-git-53988d8cf55468411da16fc6e90dc793c9ee314d.tar.gz |
Fixed bug #37563 (array_key_exists performance is poor for &$array).
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | ext/standard/basic_functions.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index fbc35c71eb..134b34c926 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -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) |