4 ms·
Yes. I think this also supports my case. For me, it was obvious to use `parse_ini_file` because it greatly improved performance (I didn't had to parse it by ha
by alganet 1y ago
Yes. I think this also supports my case.
For me, it was obvious to use `parse_ini_file` because it greatly improved performance (I didn't had to parse it by hand) and familiarity (PHP users already know ini).
On the other hand, there is no reason for toml to have chosen ini. Almost no other language had efficient ini parsers at the time, or any culture related to ini files whatsoever. It sounds like a strange choice outside the PHP context.
- laurencerowe 1y agoPython’s built in ConfigParser has an ini like syntax and was widely used.
- alganet 1y agoFair point. It would have made sense from a python perspective also.