next up previous contents
Next: php_iterator::get_data_c_string Up: Function Reference Previous: php_iterator::get_data_array   Contents

php_iterator::get_data_bool

#include "php_arr.h"

bool 
php_iterator::get_data_bool();

Description: Return the value of the element at the current iterator position as a bool. 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