]> granicus.if.org Git - php/commitdiff
Fix zend_hash_find documentation.
authormatason <chrispmaiden@gmail.com>
Tue, 7 Apr 2015 21:26:16 +0000 (22:26 +0100)
committermatason <chrispmaiden@gmail.com>
Tue, 7 Apr 2015 21:26:16 +0000 (22:26 +0100)
Zend/zend_hash.c

index efc20baa291c6f34cda72a2ef80d4e2d14164b09..0dba9f39dea0d5449a583b646f2a8fcd4c865f8c 100644 (file)
@@ -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;