We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69574a7 commit 917584bCopy full SHA for 917584b
1 file changed
README.md
@@ -72,9 +72,9 @@ foreach ($users as $id => $user) {
72
Random access like `$users[42]` is not yet possible.
73
Use above-mentioned `foreach` and find the item or use [JSON Pointer](#parsing-a-subtree).
74
75
-Count the items via [`iterator_count($users)`](https://www.php.net/manual/en/function.iterator-count.php).
+Counting the items is possible via [`iterator_count($users)`](https://www.php.net/manual/en/function.iterator-count.php).
76
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.
+as iterating it and counting in a loop.
78
79
Requires `ext-json` if used out of the box but doesn't if a custom decoder is used. See [Decoders](#decoders).
80
0 commit comments