title: PHP Regex - Split string with comma delimiter, IGNORE comma's between tags
body: <p>Given this string:</p>
  
  <pre><code>$somethingawesome = '&lt;[return date("Y-m-d", strtotime("yesterday"));]&gt;,&lt;[return "cool!";]&gt;,TRUE,foo';
  </code></pre>
  
  <p>How do I get an array like this:</p>
  
  <pre><code>Array
  (
  [0] =&gt; &lt;[return date("Y-m-d", strtotime("yesterday"));]&gt;
  
  [1] =&gt; &lt;[return "cool!";]&gt;
  
  [2] =&gt; TRUE
  
  [3] =&gt; foo
  )
  </code></pre>