diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-03-02 11:53:47 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-03-02 11:53:47 +0300 |
commit | ab800642df3e66bdc00b433234a4e38c156b731c (patch) | |
tree | 467ec52b678d5ffe347e24a5865544e304e066be /ext/standard/array.c | |
parent | 1ce0ea7396a917f3e68037df3647c4118f3a9fec (diff) | |
download | php-git-ab800642df3e66bdc00b433234a4e38c156b731c.tar.gz |
Introduce zend_symtable_exists_ind() for API consistency
Diffstat (limited to 'ext/standard/array.c')
-rw-r--r-- | ext/standard/array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c index def7d7c465..4d2c45ec51 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -5429,7 +5429,7 @@ PHP_FUNCTION(array_key_exists) switch (Z_TYPE_P(key)) { case IS_STRING: - if (zend_symtable_exists(array, Z_STR_P(key))) { + if (zend_symtable_exists_ind(array, Z_STR_P(key))) { RETURN_TRUE; } RETURN_FALSE; @@ -5439,7 +5439,7 @@ PHP_FUNCTION(array_key_exists) } RETURN_FALSE; case IS_NULL: - if (zend_hash_exists(array, ZSTR_EMPTY_ALLOC())) { + if (zend_hash_exists_ind(array, ZSTR_EMPTY_ALLOC())) { RETURN_TRUE; } RETURN_FALSE; |