title: MySQL PDO Query not showing procedure out variable
body: <p>I want to get an out variable with a procedure in my PDO setup. I am getting an empty array();       </p>
  
  <pre><code>      $connection-&gt;query('
         drop procedure if exists relatives;
         create procedure relatives(in parent int(11),out counted int(11))
         begin
          set @counted=1;
         end;
        ');
        $fetch=$connection-&gt;query('call relatives(1,@counted); select @counted as c;')-&gt;fetchall();
  </code></pre>