title: readfile returns additional digit
body: <p>I am PHP beginner.  I am trying to readfile that is saved on a local machine. I have connection, I can read the file but PHP keeps providing with additional digit.</p>
  
  <p>This is my code</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;h1&gt;My first PHP page&lt;/h1&gt;
          &lt;?php
              echo readfile("/home/pi/test/hx711py/export.txt", "r");
          ?&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>On the other side the file is very simple it contains only number "10".
  So the output should be  just number 10, but I keep getting 10 3.</p>
  
  <p>This is the output on web interface:</p>
  
  <p><a href="https://i.stack.imgur.com/gvgCG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gvgCG.png" alt="enter image description here"></a></p>
  
  <p>This is the file I am trying to read:</p>
  
  <p><a href="https://i.stack.imgur.com/BhG9R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BhG9R.png" alt="enter image description here"></a></p>