]> 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:39 +0000 (15:12 +0200)
commit733c61a89452adc0f8484f19ff1e30a6e4ca30bb
treee10b56cecb8be859065a37256995ec6783f291c8
parentafee7ed110b970f64e6f5d3139262097c462ceae
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]