com php-src: Fix zend_hash_find documentation.: Zen d/zend_hash.c
| From: | Xinchen Hui | Date: | Tue, 07 Apr 2015 21:26:16 +0000 |
| Subject: | com php-src: Fix zend_hash_find documentation.: Zen d/zend_hash.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86120@lists.php.net to get a copy of this message | ||
Commit: 52145ef8c60017594fc51c8aa5a4d38342da38eb
Author: matason <chrispmaiden@gmail.com> Tue, 7 Apr 2015 22:26:16 +0100
Parents: 871ff65fd161eb9f96577ae0a35599075eabc7cc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=52145ef8c60017594fc51c8aa5a4d38342da38eb
Log:
Fix zend_hash_find documentation.
Changed paths:
M Zend/zend_hash.c
Diff:
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c
index efc20ba..0dba9f3 100644
--- a/Zend/zend_hash.c
+++ b/Zend/zend_hash.c
@@ -1696,10 +1696,7 @@ ZEND_API void ZEND_FASTCALL zend_hash_merge_ex(HashTable *target, HashTable
*sou
}
-/* Returns SUCCESS if found and FAILURE if not. The pointer to the
- * data is returned in pData. The reason is that there's no reason
- * someone using the hash table might not want to have NULL data
- */
+/* Returns the hash table data if found and NULL if not. */
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key)
{
Bucket *p;