v1.0.0
What's new in this release?
- The code has been rewritten from scratch for PHP 7.1.
- The method
parsefromTomlclass must only be applied to TOML strings.
In case of parsing a TOML filename use the new methodparseFile. - Methods
parseandparseFilefromTomlclass accept a new argumentresultAsObject
(optional) to return the parsed input as an object (an instance ofstdClass). - The method
addGroupofTomlBuilderclass has been deleted. - The exceptions have been refactored, so the classes
ExceptionInterface,
LexerExceptionandRuntimeExceptionhave been removed. - Added the inner exception when a
ParseExceptionis thrown in methodparseof classToml. - Fixed bug #13: "Inline sub-tables don't work".
- Fixed bug #12: "Does not parse a table with an array of tables".
- Better support for dates as specified in the latest TOML spec. See PR #11.