title: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in Undefined class constant (PHP 5.5.3)
body: <p>I have a config file that connects to a remote database, however i keep receiving an error that i don't know how to fix. In the earlier versions it was meant to be a bug but i assumed it would have been fixed by 5.5.3.</p>
  
  <pre><code>&lt;?php
  error_reporting(E_ALL);
  ini_set('display_errors', 'on');
  
  $host = "localhost";
  $dbname = "registration";
  $username = "databaseEditor";
  $password = "yolo10";
  
  // 1002 = MYSQL_ATTR_INIT_COMMAND
  $options = array(PDO::MYSQL_ATTR_INIT_COMMAND =&gt; 'SET NAMES utf8');
  
  try
  {
      $db = new PDO("mysql:host={$host};dbname={$dbname};charset=utf8", $username$
  }
  catch(PDOException $ex)
  {
      die("Failed to connect to the database: " . $ex-&gt;getMessage());
  }
  
  $db-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  
  $db-&gt;setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
  
  header('Content-Type: text/html; charset=utf-8');
  
  echo "File works";
  ?&gt;
  </code></pre>
  
  <p>I keep receiving the error <code>"Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'"</code>. I have tried to use 1002 instead of 'MYSQL_ATTR_INIT_COMMAND' but then i end up with the error
  <code>"syntax error, unexpected '1002' (T_LNUMBER)"</code> instead and i have also have installed the newest php-mysql extension. </p>