Best way to show message in Controller
<p>Which way is the best to show message in Controller? Is must showing count articles.</p>

<pre><code>$c = count($articles);

if($c == 0) {
  return "On site are 0 articles";
} elseif ($c == 1){
  return "On site is 1 article";
} else {
  return "On site are" . $c . "articles";
}
</code></pre>

<p>or:</p>

<pre><code>if($c == 1) {
  $text1 = 'is';
  $text2 = 'article'
} else {
  $text1 = 'are';
  $text2 = 'articles'
}

return "On site" . $text1 . $c . $text2;
</code></pre>

<p>Maybe others ways?</p>
