title: How to add a space after every character in a string in php?
body: <p>I have a string in php named <strong>$password</strong>="<strong>1bsdf4</strong>";</p>
  
  <p>I want output <strong>"1 b s d f 4"</strong></p>
  
  <p>How is it possible. I was trying implode function but i was not able to do..</p>
  
  <pre><code>$password="1bsdf4";    
  $formatted = implode(' ',$password);    
  echo $formatted;
  </code></pre>
  
  <p>I tried this code:</p>
  
  <pre><code>$str=array("Hello","User");    
  $formatted = implode(' ',$str);    
  echo $formatted;
  </code></pre>
  
  <p>Its working and adding space in hello and user !
  Final Output I got <strong>Hello User</strong></p>
  
  <p>Thanks, yours answers will be appreciated.. :)</p>