#if WITH_BCMATH
#include "number.h"
+#include "ext/standard/info.h"
#include "php_bcmath.h"
function_entry bcmath_functions[] = {
};
zend_module_entry bcmath_module_entry = {
- "bcmath", bcmath_functions, NULL, NULL, PHP_RINIT(bcmath), PHP_RSHUTDOWN(bcmath), NULL, STANDARD_MODULE_PROPERTIES
+ "bcmath",
+ bcmath_functions,
+ NULL,
+ NULL,
+ PHP_RINIT(bcmath),
+ PHP_RSHUTDOWN(bcmath),
+ PHP_MINFO(bcmath),
+ STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_BCMATH
return SUCCESS;
}
+PHP_MINFO_FUNCTION(bcmath)
+{
+ php_info_print_table_start();
+ php_info_print_table_row(2, "BCMath support", "enabled");
+ php_info_print_table_end();
+}
+
/* {{{ proto string bcadd(string left_operand, string right_operand [, int scale])
Returns the sum of two arbitrary precision numbers */
PHP_FUNCTION(bcadd)
#if HAVE_FTP
+#include "ext/standard/info.h"
#include "ext/standard/file.h"
#include "php_ftp.h"
NULL,
NULL,
NULL,
- NULL,
+ PHP_MINFO(ftp),
STANDARD_MODULE_PROPERTIES
};
return SUCCESS;
}
+PHP_MINFO_FUNCTION(ftp)
+{
+ php_info_print_table_start();
+ php_info_print_table_row(2, "FTP support", "enabled");
+ php_info_print_table_end();
+}
+
#define FTPBUF(ftp, pval) { \
int id, type; \
/* #include "dl/snmp/php_snmp.h" */
zend_module_entry *php_builtin_extensions[] = {
+ phpext_standard_ptr,
#if WITH_BCMATH
phpext_bcmath_ptr,
#endif
- phpext_standard_ptr,
phpext_calendar_ptr,
COM_module_ptr,
phpext_ftp_ptr,
- phpext_pcre_ptr,
+ phpext_mysql_ptr,
phpext_odbc_ptr,
+ phpext_pcre_ptr,
phpext_session_ptr,
phpext_xml_ptr,
- phpext_wddx_ptr,
- phpext_mysql_ptr
+ phpext_wddx_ptr
};
#define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))