Hi,
I'm trying to iterate through a hash table,
But the zend_hash_get_current_key() doesn't seem to move forward:
I'm getting duplicate output at the 'fprintf' part.
for(zend_hash_internal_pointer_reset_ex(ht, &pos);
zend_hash_has_more_elements_ex(ht, &pos) == SUCCESS;
On Mon, Jul 21, 2014 at 11:12 AM, Aaron Lewis
wrote:
> Hi,
>
> I'm trying to iterate through a hash table,
>
> But the zend_hash_get_current_key() doesn't seem to move forward:
> I'm getting duplicate output at the 'fprintf' part.
>
>for(zend_hash_internal_pointer_reset_ex(ht, &pos);
>
Thanks! It worked
On Mon, Jul 21, 2014 at 11:20 AM, Tjerk Meesters
wrote:
>
>
>
> On Mon, Jul 21, 2014 at 11:12 AM, Aaron Lewis
> wrote:
>>
>> Hi,
>>
>> I'm trying to iterate through a hash table,
>>
>> But the zend_hash_get_current_key() doesn't seem to move forward:
>> I'm getting duplicate ou