I get a strange PHP error after updating my php version to 5.4.0-3.
(将我的php版本更新到5.4.0-3后,我收到一个奇怪的PHP错误。)
I have this array:
(我有这个数组:)
Array
(
[host] => 127.0.0.1
[port] => 11211
)
When I try to access it like this I get strange warnings
(当我尝试像这样访问它时,会收到奇怪的警告)
print $memcachedConfig['host'];
print $memcachedConfig['port'];
Warning: Illegal string offset 'host' in ....
Warning: Illegal string offset 'port' in ...
I really don't want to just edit my php.ini and re-set the error level.
(我真的不想只编辑我的php.ini并重新设置错误级别。)
ask by thesonix translate from so