Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 symfony1 中,在 yaml 文件中如何设置一个空数组?
# app.yml all: test: example: // empty array here
所以当我
<?php echo sfConfig::get('app_test_example');?>
它返回array();
array();
尝试
# app.yml all: test: example: []