title: PHP best way to convert an array into a very particular string
body: <p>What i'm trying to do is to convert an array of strings</p>
  <pre><code>$array = ['string1', 'string2', 'string3'];
  </code></pre>
  <p>into something like:</p>
  <pre><code>$string = 's.sting1, s.string2, s.string3';
  </code></pre>
  <p>I'm not very good with string manipulation and looking for a neat way to write a function that does this conversion.</p>
  <p>(ps: &quot;s.&quot; and &quot;,&quot; are just hardcoded characters)</p>