当我尝试在嵌套的隐式结构中使用带引号的键值时,我遇到了一个奇怪的问题。
<cfset outer = {
inner = {
standard = "works",
"quoted" = "does not work"
}
} />
<cfdump var=#outer.inner["quoted"]# />
这会产生错误:Element quoted is undefined in a CFML structure referenced as part of an expression.
转储整个outer
结构也没有任何价值。
这里发生了什么?