static PHP_MINFO_FUNCTION(VARIANT)
{
- DISPLAY_INI_ENTRIES();
+ php_info_print_table_start();
+ php_info_print_table_row(2, "VARIANT support", "enabled");
+ php_info_print_table_end();
}
zend_module_entry VARIANT_module_entry = {
extern "C" { /* this should be included in the includes itself !! */
#include "php.h"
-#include "php_ini.h"
+#include "ext/standard/info.h"
}
{NULL, NULL, NULL}
};
-
static PHP_MINFO_FUNCTION(DOTNET)
{
- DISPLAY_INI_ENTRIES();
+ php_info_print_table_start();
+ php_info_print_table_row(2, "DOTNET support", "enabled");
+ php_info_print_table_end();
}
-PHP_INI_BEGIN()
-PHP_INI_END()
-
PHP_MINIT_FUNCTION(DOTNET)
{
if (FAILED(hr)) return hr;
php_register_DOTNET_class();
- REGISTER_INI_ENTRIES();
return SUCCESS;
}
{
dotnet_term();
CoUninitialize();
- UNREGISTER_INI_ENTRIES();
return SUCCESS;
}
static PHP_MINFO_FUNCTION(VARIANT)
{
- DISPLAY_INI_ENTRIES();
+ php_info_print_table_start();
+ php_info_print_table_row(2, "VARIANT support", "enabled");
+ php_info_print_table_end();
}
zend_module_entry VARIANT_module_entry = {
extern "C" { /* this should be included in the includes itself !! */
#include "php.h"
-#include "php_ini.h"
+#include "ext/standard/info.h"
}
{NULL, NULL, NULL}
};
-
static PHP_MINFO_FUNCTION(DOTNET)
{
- DISPLAY_INI_ENTRIES();
+ php_info_print_table_start();
+ php_info_print_table_row(2, "DOTNET support", "enabled");
+ php_info_print_table_end();
}
-PHP_INI_BEGIN()
-PHP_INI_END()
-
PHP_MINIT_FUNCTION(DOTNET)
{
if (FAILED(hr)) return hr;
php_register_DOTNET_class();
- REGISTER_INI_ENTRIES();
return SUCCESS;
}
{
dotnet_term();
CoUninitialize();
- UNREGISTER_INI_ENTRIES();
return SUCCESS;
}