title: Does html_entity_decode replaces &nbsp; also? If not how to replace it?
body: <p>I have a situation where I am  passing a string to a function. I want to convert <code>&amp;nbsp;</code> to " " (a blank space) before passing it to function. Does <code>html_entity_decode</code> does it? </p>
  
  <p>If not how to do it?</p>
  
  <p>I am aware of <code>str_replace</code> but is there any other way out?</p>