title: Convert Comma separated string to comma separated integer value in PHP
body: <p>I have a one array like this.</p>
  
  <pre><code>Array ( [0] =&gt; 155 [1] =&gt; 156 [2] =&gt; 157 [3] =&gt; 158 [4] =&gt; 159 [5] =&gt; 160 [6] =&gt; 161 [7] =&gt; 162 [8] =&gt; 186 [9] =&gt; 163 [10] =&gt; 164 )
  </code></pre>
  
  <p>Now, I have to convert array to comma separated integer value.</p>
  
  <p>But When, I use <code>implode(',',$arr)</code> then it count as a string.</p>
  
  <p>But I need as an integer format value not a string format.</p>