title: PHP: how to divide STRING by commas?
body: <p>if I have the STRING:</p>
  <pre><code>$_GET['string'] = 'array(1, 2, 3, 4, 5, &quot;My friend Pol, Lucas and Pil&quot;, \'HTML without JS, CSS, PHP, JSP or others languages is ...\', 1, 2, 3)';
  </code></pre>
  <p>how I can divide this string in yours &quot;LOGICS&quot; values:</p>
  <pre><code>1
  2
  3
  4
  5
  &quot;My friend Pol, Lucas and Pil&quot;
  'HTML without JS, CSS, PHP, JSP or others languages is ...'
  1
  2
  3
  </code></pre>
  <p>this FAIL:</p>
  <pre><code>preg_split('/\'.*\'|&quot;.*&quot;/', $STRING,  PREG_SPLIT_DELIM_CAPTURE);
  </code></pre>
  <p>and logically</p>
  <pre><code>explode(',', $_GET['string'])
  </code></pre>
  <p>also</p>
  <p>but more: what if the STRING represent a ARRAY multidimentional ?</p>