matomo-org / component-ini

Read and write INI configurations.
GNU Lesser General Public License v3.0
50 stars 25 forks source link

Ability to switch to custom reader implementation rather than use read_ini_file #18

Closed dhirtzbruch closed 3 years ago

dhirtzbruch commented 3 years ago

The PHP default reader implementation raises an error, when the input file contains "bool-ish" values as keys, like

yes = "Yes"

This PR allowes to manually switch to custom reader implementation even if parse_ini_string function is enabled.