php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55467
Patch patch-5.3.7.diff revision 2011-08-20 18:27 UTC by virsacer at web dot de
Patch patch-trunk-201108201630.diff revision 2011-08-20 18:26 UTC by virsacer at web dot de

Patch patch-trunk-201108201630.diff for PHP options/info functions Bug #55467

Patch version 2011-08-20 18:26 UTC

Return to Bug #55467 | Download this patch
Patch Revisions:

Developer: virsacer@web.de

--- php-trunk-201108201630/ext/standard/info.c	Fri Aug 19 12:30:02 2011
+++ php-trunk-201108201630-edited/ext/standard/info.c	Sat Aug 20 20:06:30 2011
@@ -214,8 +214,9 @@
 				php_info_print("<td class=\"e\">");
 			}
 
+			php_info_print("$");
 			php_info_print(name);
-			php_info_print("[\"");
+			php_info_print("['");
 			
 			switch (zend_hash_get_current_key_ex(Z_ARRVAL_PP(data), &string_key, &string_len, &num_key, 0, NULL)) {
 				case HASH_KEY_IS_STRING:
@@ -229,7 +230,7 @@
 					php_info_printf("%ld", num_key);
 					break;
 			}
-			php_info_print("\"]");
+			php_info_print("']");
 			if (!sapi_module.phpinfo_as_text) {
 				php_info_print("</td><td class=\"v\">");
 			} else {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 07:01:29 2024 UTC