Skip to content

v1.1.0 - Flat mode, multiline strings, JSON comments

Latest

Choose a tag to compare

@Video-VV Video-VV released this 16 Nov 15:37
· 1 commit to main since this release

Added

  • Flat mode support (sections = false) with correct read/write.
  • Multiline string and JSON values support.
  • Comments inside JSON are removed only when outside string literals.
  • # is supported as a comment marker alongside ;.

Fixed

  • read() and write() no longer override $this->sections when the argument is omitted.
  • Manual parsing for flat mode in read() prevents foreach errors and Array to string conversion.
  • Inline BEHIND comments are collected only in parseIniLines (no duplication).