next up previous contents
Next: php_array Up: Function Reference Previous: php::set_output_function   Contents

php::status

#include "php_cxx.h"

class php{
public:
   ...
   php_ret status;
};

Description: This is a public variable of the php class that indicates the status of the class, generally in reference to the most recently executed command. If the status is ever nonzero the class should be destroyed. Although nearly every operation in the php and php_stl classes has the potential to affect status, it may be sufficient to rely on error output to detect problems and only check status after initialization.



Andrew Bosworth 2008-03-24