You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org).
15
15
### Changed
16
16
17
17
- On read, Xlsx Reader had been breaking up union ranges into separate individual ranges. It will now try to preserve range as it was read in. [PR #4042](https://github.com/PHPOffice/PhpSpreadsheet/pull/4042)
18
+
- Xlsx/Xls spreadsheet calculation and formatting of dates will use base date of spreadsheet even when spreadsheets with different base dates are simultaneously open. [Issue #1036](https://github.com/PHPOffice/PhpSpreadsheet/issues/1036)[Issue #1635](https://github.com/PHPOffice/PhpSpreadsheet/issues/1635)[PR #4071](https://github.com/PHPOffice/PhpSpreadsheet/pull/4071)
18
19
19
20
### Deprecated
20
21
@@ -35,6 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org).
35
36
- Conditional Range Unions and Intersections [Issue #4039](https://github.com/PHPOffice/PhpSpreadsheet/issues/4039)[PR #4042](https://github.com/PHPOffice/PhpSpreadsheet/pull/4042)
36
37
- Csv Reader allow use of html mimetype. [Issue #4036](https://github.com/PHPOffice/PhpSpreadsheet/issues/4036)[PR #4040](https://github.com/PHPOffice/PhpSpreadsheet/pull/4040)
37
38
- Problem rendering line chart with missing plot label. [PR #4074](https://github.com/PHPOffice/PhpSpreadsheet/pull/4074)
39
+
- More RTL in Xlsx/Html Comments [Issue #4004](https://github.com/PHPOffice/PhpSpreadsheet/issues/4004)[PR #4065](https://github.com/PHPOffice/PhpSpreadsheet/pull/4065)
40
+
- Empty String in sharedStrings. [Issue #4063](https://github.com/PHPOffice/PhpSpreadsheet/issues/4063)[PR #4064](https://github.com/PHPOffice/PhpSpreadsheet/pull/4064)
Copy file name to clipboardExpand all lines: docs/topics/Looping the Loop.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,28 @@ But a peak memory usage of 49,152KB compared with the 57,344KB used by `toArray(
308
308
Like `toArray()`, `rangeToArray()` is easy to use, but it has the same limitations for flexibility. It provides the same limited control over how the data from each cell is returned in the array as `toArray()`.
309
309
The same additional arguments that can be provided for the `toArray()` method can also be provided to `rangeToArray()`.
310
310
311
+
312
+
## Using `rangeToArrayYieldRows()`
313
+
314
+
Since v2.1.0 the worksheet method `rangeToArrayYieldRows()` is available.
315
+
It allows you to iterate over all sheet's rows with little memory consumption,
You don't need to build an array from the worksheet to loop through the rows and columns and do whatever processing you need; you can loop through the rows and columns in the Worksheet directly and more efficiently using PhpSpreadsheet's built-in iterators.
0 commit comments