projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b00fba
)
Implement feature request #55467 (phpinfo: PHP Variables with $ and single quotes)
author
Kalle Sommer Nielsen
<kalle@php.net>
Sun, 14 Dec 2014 21:47:58 +0000
(22:47 +0100)
committer
Kalle Sommer Nielsen
<kalle@php.net>
Sun, 14 Dec 2014 21:47:58 +0000
(22:47 +0100)
ext/standard/info.c
patch
|
blob
|
history
diff --git
a/ext/standard/info.c
b/ext/standard/info.c
index 7a118af7b4421e228ad9cd456e6f55e7fb85aa5a..73ec873d4edbee1b8c2837cc409a6547f9b52667 100644
(file)
--- a/
ext/standard/info.c
+++ b/
ext/standard/info.c
@@
-209,8
+209,9
@@
static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
php_info_print("<td class=\"e\">");
}
+ php_info_print("$");
php_info_print(name);
- php_info_print("[
\"
");
+ php_info_print("[
'
");
if (string_key != NULL) {
if (!sapi_module.phpinfo_as_text) {
@@
-221,7
+222,7
@@
static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
} else {
php_info_printf(ZEND_ULONG_FMT, num_key);
}
- php_info_print("
\"
]");
+ php_info_print("
'
]");
if (!sapi_module.phpinfo_as_text) {
php_info_print("</td><td class=\"v\">");
} else {