#include <unicode/uversion.h>
+
+f _MSC_VER >= 1500
+# define PHP_WINAPI_COMPILER "MSVC9 (2008)"
+#elif _MSC_VER >= 1400
+# define PHP_WINAPI_COMPILER "MSVC8 (2005)"
+#elif _MSC_VER >= 1310
+# define PHP_WINAPI_COMPILER "MSVC7.1 (.NET 2003)"
+#elif _MSC_VER >= 1300
+# define PHP_WINAPI_COMPILER "MSVC7 (.NET 2002)"
+#elif _MSC_VER < 1300
+# define PHP_WINAPI_COMPILER "MSVC6 "
+#endif
+
#define SECTION(name) if (!sapi_module.phpinfo_as_text) { \
php_info_print("<h2>" name "</h2>\n"); \
} else { \
#ifdef CONFIGURE_COMMAND
php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND );
#endif
+
+#ifdef PHP_WIN32
+ php_info_print_table_row(2, "Windows Compiler and Version", PHP_WINAPI_COMPILER );
+#endif
+
if (sapi_module.pretty_name) {
php_info_print_table_row(2, "Server API", sapi_module.pretty_name );
}