Hi all, I had this idea for a long time, but I didn't have time to mention. Since I did mention this idea in basic type hints thread, I've created RFC for it.
https://wiki.php.net/rfc/introduce-type-affinity SQLite2 was typeless. All data is stored as "text". Type affinity is SQLite3's idea to have native type for better performance. https://www.sqlite.org/datatype3.html PHP may have the same idea for better performance and code. It works well with coercive type or strict type (Not currently proposed one, though) Comments are appreciated! Regards, -- Yasuo Ohgaki yohg...@ohgaki.net