title: How to convert string to array?
body: <p>I need to convert string</p>
  
  <pre><code>"name1", "b", "2", "name2", "c", "3", "name3", "b", "2", ....
  </code></pre>
  
  <p>to an array like</p>
  
  <pre><code>$arr[0]['name'] = "name1";
  $arr[0]['char'] = "b";
  $arr[0]['qnt'] = "2";
  
  $arr[1]['name'] = "name2";
  $arr[1]['char'] = "c";
  $arr[1]['qnt'] = "3";
  
  $arr[2]['name'] = "name3";
  $arr[2]['char'] = "b";
  $arr[2]['qnt'] = "2";
  </code></pre>
  
  <p>I used explode to extract an string to array but it not work</p>
  
  <p>Any idea?</p>