Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Database - normalize values #806
Bug: database values are not properly normalized to valid php types.
When column in a mysql db is of type
The biggest problem in 5.3 is that these binary strings evaluate to true in conditions! Thus
I don't know how to fix this atm, so at least attaching a simple test case. Suggestions or comments welcomed.
The problem is probably in PDO, because
Here is the output for long and bit columns: