Skip to content

Instantly share code, notes, and snippets.

@c9s
Created October 18, 2015 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c9s/d1beca210cfb57096ca2 to your computer and use it in GitHub Desktop.
Save c9s/d1beca210cfb57096ca2 to your computer and use it in GitHub Desktop.
zend hash iteration
for(zend_hash_internal_pointer_reset_ex(hash, &pos);
zend_hash_get_current_data_ex(hash, (void**) &data, &pos) == SUCCESS;
zend_hash_move_forward_ex(hash, &pos))
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment