title: Returning two values from a function
body: <p>Is it possible to return two values when calling a function that would output the values?</p>
  
  <p>For example, I have this:</p>
  
  <pre><code>&lt;?php
      function ids($uid = 0, $sid = '')
      {
          $uid = 1;
          $sid = md5(time());
  
          return $uid;
          return $sid;
      }
  
      echo ids();
  ?&gt;
  </code></pre>
  
  <p>Which will output <code>1</code>. I want to chose what to ouput, e.g. <code>ids($sid)</code>, but it will still output <code>1</code>.</p>
  
  <p>Is it even possible?</p>