toml
toml copied to clipboard
A PHP parser for TOML
Has anyone started working on it already?
Thank you for and congratulations with this great library! I am using both YAML and TOML. For YAML I use the Yaml::parse and Yaml::dump to read and write files. With...
It appears that a toml file with a multi-line string (three `'`s) causes the parser to crash. key=''' This is a line ''' key2=""" This is also a line """...
# Changed log - Add more tests. - Set the ```phpunit``` version in ```require-dev```. - Use ```composer update``` because it can let the different PHP versions to install proper packages...
``` # Global tags can be specified here in key="value" format. [global_tags] #fghfgh # dc [[agent1.edfgdfg]] #dfgdfgd [[agent1.edfgdfg]] #dfgdfg [[agent1.edfgdfg]] #dfgdfgdf [[agent1.edfgdfg]] #dfgdfgdf ``` got expected error, but line number...
It seems like this library doesn't preserve comments? So I can parse TOML from a file, change it, then write it back, but any comments get removed in the process.