详细问题描述
[内容]
php 访问json的方式 $json->{'123'} 这种方式是正确的,IDE报错,不允许格式化代码
重现步骤
[步骤]
[结果]
[期望]
运行环境
[系统版本]
[浏览器版本]
[IDE版本]
HBuilder
7.5.1.201610112114
[mui版本]
附件
[代码片段]
if (is_null($json -> {$request['id']})) {
$json -> {$request['id']} = $request['result'];
}
如下是可以通过的
if (is_null(1)) {
$json -> {$request['id']} = $request['result'];
}
日志:
!ENTRY com.aptana.formatter.epl 4 0 2016-11-03 00:55:33.380
!MESSAGE (Build null) [ERROR] com.aptana.formatter.epl/debug Error while formatting the code in your editor.
Please submit a bug report through Studio's support and include the relevant code which triggered this error.
You may also turn on the com.hbuilder.formatter.epl/debug at the Studio's Troubleshooting preference page to log more details about this error.
[安装包]
联系方式
[QQ]
[电话]
0 个回复