title: enum declaration string from db to array
body: <p>After using a &quot;SHOW COLUMNS&quot; I get a string in the &quot;Type&quot; column which looks like so when printed:
  <code>'enum('0','1','2','3')'</code></p>
  <p>I need this string to be converted to a simple array like
  <code>[0,1,2,3]</code></p>
  <p>Is there a faster or generally better way than using str_replace(s) to clean the string to <code>0,1,2,3</code> and then using explode on it?</p>