Patch patch-5.3.7.diff for PHP options/info functions Bug #55467
Patch version 2011-08-20 18:27 UTC
Return to Bug #55467 |
Download this patch
Patch Revisions:
Developer: virsacer@web.de
--- php-5.3.7/ext/standard/info.c Thu Jul 21 16:49:55 2011
+++ php-5.3.7-edited/ext/standard/info.c Sat Aug 20 20:06:26 2011
@@ -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("</td><td class=\"v\">");
} else {
|