Using zend_hash_find when key is of Integer type

View: New views
1 Messages — Rating Filter:   Alert me  

Using zend_hash_find when key is of Integer type

by Ambrish () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Can anyone tell me how can I use zend_hash_find (or any other API) to search key, where key is of integer type?

Regards,
Ambrish Bhargava
LightInTheBox - Buy quality products at wholesale price