title: phpinfo says MySQLnd is the active driver or am i confused
body: <p>When i try to use the getAttribute function i get this error: Call to a member function getAttribute() on a non-object. It appears that mysqlnd is enabled but i can't use get_result() either, any idea?</p>
  
  <p>This has really been bothering me lately. On another post @inspire answered correctly but doesn't work for me. You can find that here: <a href="https://stackoverflow.com/questions/1475701/how-to-know-if-mysqlnd-is-the-active-driver">How to know if MySQLnd is the active driver?</a></p>
  
  <p>When i echo this:</p>
  
  <pre><code>&lt;?php
  $mysqlnd = function_exists('mysqli_fetch_all');
  
  if ($mysqlnd) {
      echo 'mysqlnd enabled!';
  }
  </code></pre>
  
  <p>nothing happens at all, so apparently it's not enabled even though my phpinfo() says it's enabled?</p>
  
  <p>To detect if its the active PDO driver, create your MySQL PDO object then:</p>
  
  <pre><code>if (strpos($pdo-&gt;getAttribute(PDO::ATTR_CLIENT_VERSION), 'mysqlnd') !== false) {
      echo 'PDO MySQLnd enabled!';
  }
  </code></pre>
  
  <p>When i try this i get call to member function getAttribute() on a non object..</p>
  
  <p>Any help would be greatly appreciated. Thanks in advance.</p>