We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
($cfg[$cfg['def_db']]['w'][1]['host'])??'localhost' 返回localhost ($cfg[$cfg['def_db']]['w'][1])??'localhost' 返回 localhost 而$cfg[$cfg['def_db']]['w'][1]['host']===‘mongodb’,$cfg[$cfg['def_db']]['w'][1]===yafConfig的对象
mac os x php 7.2.1的条件下出现 $cfg是yaf ini加载的config,$cfg[$cfg['def_db']]['w'][1]['host']==='mongo' 存在的情况下,返回却是localhost
换成$cfg=$cfg->toArray() 执行上面代码 都返回正确
The text was updated successfully, but these errors were encountered:
回避吧
Sorry, something went wrong.
No branches or pull requests
($cfg[$cfg['def_db']]['w'][1]['host'])??'localhost' 返回localhost
($cfg[$cfg['def_db']]['w'][1])??'localhost' 返回 localhost
而$cfg[$cfg['def_db']]['w'][1]['host']===‘mongodb’,$cfg[$cfg['def_db']]['w'][1]===yafConfig的对象
mac os x php 7.2.1的条件下出现
$cfg是yaf ini加载的config,$cfg[$cfg['def_db']]['w'][1]['host']==='mongo' 存在的情况下,返回却是localhost
换成$cfg=$cfg->toArray() 执行上面代码 都返回正确
The text was updated successfully, but these errors were encountered: