title: How to filter data from a connection string in php
body: <p>I have the following connection string and have this standard syntax always.
  <code>mysql:host=localhost;port=3306;dbname=mydb</code>
  Is there an easy way to filter the information(host, port,dbname) to a php variable?</p>