Turning a word into stars (*) : <p>I am looking for a way to turn a word into stars *. This may be used to show a password, without actually showing the characters or numbers.</p>

<p>The Outcome <code>$word = "hello";</code></p>

<pre><code>$newword = "*****";
</code></pre>
