Re: Using zend_hash_find when key is of Integer type
| From: | Ambrish | Date: | Thu, 03 Jul 2008 08:58:25 +0000 |
| Subject: | Re: Using zend_hash_find when key is of Integer type | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-5590@lists.php.net to get a copy of this message | ||
Hi,
I can not use zend_hash_index_find() because I do not know the index of the
key.
Regards,
Ambrish Bhargava
Antony Dovgal-3 wrote:
>
> On 03.07.2008 05:35, Ambrish wrote:
>> Hi All,
>>
>> I am writing a PHP extension and over here I am trying to use
>> zend_hash_find
>> API to search for key in a hash. But the problem here is "my key is an
>> integer and not *char". So this zend_hash_find will not work.
>
> Use zend_hash_index_find() then?
>
> --
> Wbr,
> Antony Dovgal
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
View this message in context: http://www.nabble.com/Using-zend_hash_find-when-key-is-of-Integer-type-tp18250168p18254882.html
Sent from the Pecl - Dev mailing list archive at Nabble.com.