title: Is it possible to get width of terminal or to print line with fill of 100% width?
body: <p>PHP. <code>fputs(STDOUT, 'some short text')</code>!
  Is there any way to get char length for terminal that launch php script? </p>
  
  <p>How to print text with <code>fputs(STDOUT, "Some Error\n");</code> with full line background of red color?</p>