]> granicus.if.org Git - php/commit
Add test for get_cfg_var with array variable
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Apr 2019 11:38:51 +0000 (13:38 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Apr 2019 13:12:45 +0000 (15:12 +0200)
commit2f97bb6cfc6bc129d2c5a699dbd3ce9aa50f4667
treecf508fc203b19b6f8c3a75fdaa5f47dc96717bfa
parenta830682a9a767a92de84b4d7c35d072a8f5fc2a6
Add test for get_cfg_var with array variable

And fix incorrect variable shadowing in add_config_entry(). However,
the test doesn't hit this case, as it requires a nested array. I'm
not sure if it's possible to produce nested arrays from ini?
ext/standard/basic_functions.c
ext/standard/tests/general_functions/get_cfg_var_array.phpt [new file with mode: 0644]