On Fri, May 15, 2009 at 12:13 AM, Moriyoshi Koizumi wrote:
> On Fri, May 15, 2009 at 12:31 PM, Farley Knight
> wrote:
>
>> zend_hash_internal_pointer_reset(Z_ARRVAL(zhash));
>>
>> printf("This hash table has %d entries\n",
>> zend_hash_num_elements(Z_ARRVAL(zhash)));
>>
>> int current = 0;
>>
On Fri, May 15, 2009 at 4:03 AM, Antony Dovgal wrote:
> On 15.05.2009 07:31, Farley Knight wrote:
>> while (zend_hash_get_current_data(Z_ARRVAL(zhash), (void**)&value)
>> == SUCCESS) {
>> current++;
>> printf("Currently on entry %d\n", current);
>> if (zend_hash_move_forward(Z_ARRVAL
On 15.05.2009 07:31, Farley Knight wrote:
> while (zend_hash_get_current_data(Z_ARRVAL(zhash), (void**)&value)
> == SUCCESS) {
> current++;
> printf("Currently on entry %d\n", current);
> if (zend_hash_move_forward(Z_ARRVAL(zhash)) == SUCCESS)
> printf("Done moving hash forward.
On Fri, May 15, 2009 at 12:31 PM, Farley Knight wrote:
> zend_hash_internal_pointer_reset(Z_ARRVAL(zhash));
>
> printf("This hash table has %d entries\n",
> zend_hash_num_elements(Z_ARRVAL(zhash)));
>
> int current = 0;
>
> while (zend_hash_get_current_data(Z_ARRVAL(zhash), (void**)&value)
>