title: How to convert string to symbol in PHP
body: <p>How to convert a password string to specified symbol like <code>*</code> or something else.</p>
  
  <p>I'm currently working on change password page.
  I would like to display the password to page, and i want to avoid the password overlook by someone, so i want to covert the password's string to symbol like <code>*</code> with same lengths.
  An example like <code>&lt;input type="password" /&gt;</code>.</p>
  
  <p>Sorry for my bad english...</p>