-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
As seen here:
| if (count($stmt) == 0) { |
The code performs count() on a PDOStatement, but PDOStatement's are not countable objects. On PHP 7 this will emit an error. On PHP 5 this will always result in a true statement (because count() on an object that does not implement Countable always returns 1)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels