title: Mysqlnd native driver not working even though loaded
body: <p>The output of <code>php -i | grep mysqlnd</code> is:</p>
  
  <blockquote>
    <p>Client API version => mysqlnd 5.0.11-dev - 20120503 - $Id:
    40933630edef551dfaca71298a83fad8d03d62d4
    Client API library version
    => mysqlnd 5.0.11-dev - 20120503 - $Id: 40933630edef551dfaca71298a83fad8d03d62d4
    mysqlnd mysqlnd => enabled
    Version => mysqlnd 5.0.11-dev - 20120503 - Id: 40933630edef551dfaca71298a83fad8d03d62d
    Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
    mysqlnd statistics => Client API version => mysqlnd 5.0.11-dev -
    20120503 - $Id: 40933630edef551dfaca71298a83fad8d03d62d4</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/Yb4FH.jpg" alt="enter image description here"></p>
  
  <p>Which suggests it's loaded <code>mysqlnd =&gt; enabled</code> however all the database values are still coming out as strings, not converted to native PHP types:</p>
  
  <pre><code>$connection = new mysqli('127.0.0.1', 'root', '', 'my_database');
  
  // Settings contains one tinyint field 'enabled'
  $result = mysqli_query($connection, 'select * from settings');
  
  var_dump(mysqli_fetch_array($result));
  </code></pre>
  
  <p><strong>Result</strong></p>
  
  <pre><code>array (size=1)
      'enabled' =&gt; string '1' (length=1)
  </code></pre>
  
  <p><strong>Expected</strong></p>
  
  <pre><code>array (size=1)
     'enabled' =&gt; int 1
  </code></pre>
  
  <p>Am I missing some config/any suggestions?</p>