I'd review this first, see type juggling: https://www.php.net/manual/en/language.operators.comparison.php
!== // more accurate
So, apparently (and correct me if I'm wrong)... All data in SQLite is a string?
I'd like to consider using SQLite :memory: for a project, but said project is using strict type checking in almost every comparison. Not sure if it absolutely needs to be written this way.
What is the best move here?
Don't use SQLite in memory for testing?
Remove the strict comparison operators?
Thanks in advance. Just curious what the room thinks.
So this actually hasn't been that much of a problem. So far my code and tests run, which I find odd, since SQLite puts out integers as strings and we have strict checking littered throughout the application in question.
I've mostly been able to assertSame and assertEquals instead of strict checking when needed on tests.
Haven't really run into any issues.
Please or to participate in this conversation.