next up previous contents
Next: php_iterator::get_key_long Up: Function Reference Previous: php_iterator::get_data_type   Contents

php_iterator::get_key_c_string

#include "php_arr.h"

char *
php_iterator::get_key_c_string();

Description: Return the key of the element at the current iterator position as a char *. If type conversion is necessary it may generate a type mismatch warning if those warnings are enabled.

Errors: It is an error to call this function on an iterator in an invalid position (see php_iterator::done).



Andrew Bosworth 2008-03-24