--- php-5.3.3/ext/standard/info.c 2010-05-30 08:46:46.000000000 +0200 +++ php-5.3.3/ext/standard/info.c 2010-07-27 19:56:06.426000000 +0200 @@ -156,8 +156,9 @@ } + PUTS("$"); PUTS(name); - PUTS("[\""); + PUTS("['"); switch (zend_hash_get_current_key_ex(Z_ARRVAL_PP(data), &string_key, &string_len, &num_key, 0, NULL)) { case HASH_KEY_IS_STRING: @@ -171,7 +172,7 @@ php_printf("%ld", num_key); break; } - PUTS("\"]"); + PUTS("']"); if (!sapi_module.phpinfo_as_text) { PUTS(""); } else { @@ -289,14 +290,14 @@ major = "Windows Server 2008"; } } else - if ( osvi.dwMinorVersion == 2 ) { + if ( osvi.dwMinorVersion == 1 ) { if( osvi.wProductType == VER_NT_WORKSTATION ) { major = "Windows 7"; } else { major = "Windows Server 2008 R2"; } } else { - major = "Unknow Windows version"; + major = "Unknown Windows version"; } pGPI = (PGPI) GetProcAddress(GetModuleHandle("kernel32.dll"), "GetProductInfo"); @@ -625,8 +626,8 @@ *** none of that is needed now ***/ - PUTS("\n"); - PUTS(""); + PUTS("\n"); + PUTS("\n"); PUTS("\n"); php_info_print_style(TSRMLS_C); PUTS("phpinfo()");