DB returns string instead of int (mysqlnd for PHP-7.1 / Laravel)
问题 A few days ago, I asked a question about a bug I found in Laravel. To fix it, I installed php5-mysqlnd on my server. Today, I upgraded my application to the latest php 7.1.*. Everything works correctly, except the bug is back again, i.e. integers in the database are returned as strings, which fails my strict comparison. I tried to find a package for mysqlnd for php 7.1 but there are none (yet?). But mysqlnd seems enabled though... phpinfo() PHP Version => 7.1.3-2+0~20170315222009.20+jessie~1