getting multiple data out of the function
<p>This is simple function</p>

<pre><code>function check_nickname($item)
{
    if (preg_match('/^[a-z\d_]{1,15}$/', $item)) {
    return true;
  } else {
    return false;
  }
}
</code></pre>

<p>It returns only true or false.</p>

<p>But If it is false I want it to return False + some text in a string or something.</p>

<pre><code>if(check_nickname($item))
</code></pre>

<p>will get true/false. but if it is false then how can I echo some text string ?</p>
