PHP_MINIT_FUNCTION(geospatial)
{
REGISTER_DOUBLE_CONSTANT("GEO_DIAMETER", GEO_DIAMETER, CONST_CS|CONST_PERSISTENT);
return SUCCESS;
}
PHP_MINFO_FUNCTION(geospatial)
{
php_info_print_table_start();
php_info_print_table_header(2, "Geospatial functions", "enabled");
php_info_print_table_row(2, "Version", PHP_GEOSPATIAL_VERSION);
php_info_print_table_end();
}