1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-17 21:18:23 +01:00

Update README.md

This commit is contained in:
Filip Halaxa 2019-12-15 15:05:19 +01:00 committed by GitHub
parent b7ffc662c9
commit 12361c785f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ foreach ($users as $id => $user) {
}
```
Random access like `$users[42]` or counting results like `count($users)` **is not possible**.
Random access like `$users[42]` or counting results like `count($users)` **is not possible** by design.
Use above-mentioned `foreach` and find the item or count the collection there.
## Introduction