title: Java String.valueOf to PHP
body: <p>Hope all is well. So I am new to PHP and I have to write a program in it that basically parses through information. I have been doing oodles of research and finally found something that works for what I need but it is written in Java. I ran into a wall when I came to this (the 3rd line, tempChar)</p>
  
  <pre><code>for (counter = 0; counter &lt;= htmlInput.length()-1; counter++){
    //place the current character in tempChar
    tempChar = String.valueOf(htmlInput.charAt(counter));
  </code></pre>
  
  <p>Is the equivalent of string.valueOf implode in php? I just need to return the string representation and store it's contents. Thank you so much for helping me while I am a noob at this.</p>