but in fact second param is boolean strict flag and the format is detected from string contents. IMHO it should be option to explictly pass format to invoke selected parser and skip auto-detection from string contents.
Hi,
Fixed the docs.
When using an older version of library (before 1.x) you needed to specify the format of a string.
But the current library reliably detects the format of the file from it's content.
Hi,
according to the docs:
but in fact second param is boolean
strict
flag and the format is detected from string contents. IMHO it should be option to explictly passformat
to invoke selected parser and skip auto-detection from string contents.