#include "php_cxx.h"
class php {
public:
php(bool type_warnings = false);
~php();
...
};
Description: The php object is the center of access for the embedded PHP interpreter. The type_warnings value is optional and defaults to false. If set to true the interpreter will send a string to the error function (see php::set_error_function) when it is forced to use PHP type conversion to get an object into the required C++ data type.
Errors: Any errors during initialization will result in the status flag (see php::status) being set to a nonzero value.