Score
0
Watch 39 Star 96 Fork 36

ideaa / crossphpPHPMIT

Open
!5 强化获取配置参数,multi参数为false, 可获取多维数组内的值

J.H:dev ideaa:dev

J.H Created on: 2017-04-02 12:19

[
'config'=>[
'k1' => ['k11'=>11,'k12'=>12],
'k2' => 2
]
]

CrossArray::init($this->config_data, $this->res_file)->get('config', ['k1','k3']);
// return ['k1' => ['k11'=>11,'k12'=>12], 'k3'=>false]

CrossArray::init($this->config_data, $this->res_file)->get('config', ['k1','k11'],false);
// return 11

0 comments, 1 participants 106771 cafuy 1578917789

Check whether the system can automatically merge this Pull Request...
The Pull Request cannot be automatically merged.
The Pull Request cannot be automatically merged.
Gitee trying to handle conflicts...
The current branch merge status has been updated, continue to operate after refreshing the page
The Pull Request can be automatically merged.
Merging Pull Request. Wait for a moment, the page will refresh automatically.
PHP
1
https://gitee.com/ideaa/crossphp.git
git@gitee.com:ideaa/crossphp.git
ideaa
crossphp
crossphp

Help Search