title: Space after array_rand
body: <p>I have a php script that is generating random quotes from txt files:</p>
  
  <pre><code>&lt;?php
      for ($i = 0; $i &lt; 100; $i++) {
  $lin1 = file('1.txt');
  $first = $lin1[array_rand($lin1)];
  $lin2 = file('2.txt');
  $secound = $lin2[array_rand($lin2)];
  $lin3 = file('3.txt');
  $thi = $lin3[array_rand($lin3)];
  
  echo "$first-$secound-$thi&lt;br&gt;";
  }
  ?&gt;
  </code></pre>
  
  <p>The txt files looks like this:</p>
  
  <pre><code>We
  They
  Them
  </code></pre>
  
  <p>What I expect in output is something like this:</p>
  
  <pre><code>We-are-blue
  </code></pre>
  
  <p>But what I get is this:</p>
  
  <pre><code>We -are -blue
  </code></pre>
  
  <p>The script is adding space after $first, $secound and $ thi. How to eliminate this space?</p>