title: Why not PDO_MySQL return integer?
body: <p>I'm migrating my PHP codes from <code>mysql</code> (deprecated in 5.5) to <code>PDO_MySQL</code>. However, <code>mysql_fetch_row</code> returns integer while <code>PDOStatement::fetch</code> returns strings for numbers. How can I make PDO behaves like the former one?</p>
  
  <p>Result of <code>mysql_fetch_row</code>:</p>
  
  <pre><code>array(1) {
    ["id"]=&gt;
    int(1)
  }
  </code></pre>
  
  <p>Result of <code>PDOStatement::fetch</code>:</p>
  
  <pre><code>array(1) {
    ["id"]=&gt;
    string(1) "1"
  }
  </code></pre>