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-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 {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC