Skip to content

Commit

Permalink
prepare 9.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Oct 2, 2019
1 parent 40bc2e6 commit e7225b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All Notable changes to `Csv` will be documented in this file

## Next - TBD
## 9.4.0 - 2019-10-02

### Added

Expand Down
4 changes: 3 additions & 1 deletion docs/9.0/connections/bom.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ $bom = $csv->getOutputBOM(); //returns "\xEF\xBB\xBF"

<p class="message-info">Since version <code>9.4.0</code>.</p>

If your document contains a BOM sequence by the following methods control its presence when processing it.

~~~php
AbstractCsv::skipInputBOM(): self;
AbstractCsv::includeInputBOM(): self;
Expand All @@ -90,7 +92,7 @@ AbstractCsv::isInputBOMIncluded(): bool;
- `includeInputBOM`: preserves the input BOM from your CSV document while accessing its content.
- `isInputBOMIncluded`: tells whether skipping or including the input BOM will be done.

<p class="message-notice">By default and to avoid BC Break, the Input BOM is skipped.</p>
<p class="message-notice">By default and to avoid BC Break, the Input BOM, if present, is skipped.</p>

If your document does not contains any BOM sequence you can speed up the CSV iterator by preserving its presence which means
that no operation to detect and remove it if present will take place.
Expand Down

0 comments on commit e7225b6

Please sign in to comment.