title: PHP - Parse, Regex CSS file?
body: <p>I'm looking for a way to achieve this.</p>
  
  <pre><code>#header { background: red; font-size: 14px; color:white; }
  </code></pre>
  
  <p>I want to be able to parse/regex this (and more of these in same file) into an array that looks something like this. </p>
  
  <pre><code>Array[0] = header
  Array[0][0] = background: red;
  Array[0][1] = font-size; 14px;
  Array[0][2] = color: white;
  </code></pre>
  
  <p>And next for example #content would then be </p>
  
  <pre><code>Array[1] = content 
  Array[1][0] = width: 1200px;
  </code></pre>
  
  <p>etc</p>
  
  <p>I've been trying to google for hours now and I'm completely LOST in the jungle of regex and multidimensional arrays. </p>
  
  <p>Anyone has any idea how this can be achieved? </p>