Parse .ini files and catch errors #5251
Labels
good first issue
Good for newcomers
help wanted
Contributions are welcome
low priority
Something for later...
Describe the bug
If you write wrong comments in the ini files (with an
#
instead of;
) this leads to a fatal error in the browser.Using
#
instead of;
is not the correct way, I know.But the Framework should be smart enough to catch these misconfiguration and give you an clean error.
To Reproduce
Create a new section in a .ini file and add comments for that with
#
Expected behavior
The framework should catch this and give a clean error.
Screenshots
(The censored part are only bookmarks of the browser and not part of the error message)
Your Environment
Include as many relevant details about the environment you experienced the problem in
php --version
): 8.2.20The text was updated successfully, but these errors were encountered: