Skip to content

Commit 917584b

Browse files
committed
README update
1 parent 69574a7 commit 917584b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ foreach ($users as $id => $user) {
7272
Random access like `$users[42]` is not yet possible.
7373
Use above-mentioned `foreach` and find the item or use [JSON Pointer](#parsing-a-subtree).
7474

75-
Count the items via [`iterator_count($users)`](https://www.php.net/manual/en/function.iterator-count.php).
75+
Counting the items is possible via [`iterator_count($users)`](https://www.php.net/manual/en/function.iterator-count.php).
7676
Remember it will still have to internally iterate the whole thing to get the count and thus will take about the same time
77-
as iterating it and counting by hand.
77+
as iterating it and counting in a loop.
7878

7979
Requires `ext-json` if used out of the box but doesn't if a custom decoder is used. See [Decoders](#decoders).
8080

0 commit comments

Comments
 (0)