[DDC-2243] Inconsistent PHP Type for "bigint" columns Created: 15/Jan/13 Updated: 20/Jan/13 Resolved: 20/Jan/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Johannes Schmitt||Assignee:||Benjamin Eberlei|
It seems like columns of type "bigint" have no consistent PHP type.
If an object is read from the database, the database value seems to be cast to
I think it would make sense to use a PHP string for both cases as you otherwise can run into problems if you use shallow comparisons such as "===".