Fixed bug #37563 (array_key_exists performance is poor for &$array).

This commit is contained in:
Ilia Alshanetsky 2006-05-24 23:14:08 +00:00
parent 755caecfc9
commit 53988d8cf5
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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)

View 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)