Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admin_config_set: Revised process_complex_value() function
The new code features an improved regex, which deals more efficiently with the parsing of multi-dimensional and associative arrays. Regex are defined as static variables for better performance with repeated and recursive calls Known issue: an invalid definition like 'array(array(1,2)=>array(3,4))' is not properly parsed. Fixes #13298
- Loading branch information
Showing
1 changed file
with
54 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters