title: How to get specific part of a strings from a string using php?
body: <p>I have a RGBA color in this format:</p>
  
  <pre><code>RGBA:1.000000,0.003922,0.003922,0.003922
  </code></pre>
  
  <p>How can I separate each value from this string such as:</p>
  
  <pre><code>var alpha = 1.000000;
  var red = 0.003922;
  var green = 0.003922;
  var blue = 0.003922;
  </code></pre>
  
  <p>I want to do this in php.</p>