how change the string in php?
<p>eg:  </p>

<p><code>$url=http://www.example.com/</code>.  </p>

<p>how to make the $url to this style. </p>

<p><code>http://test.google.com/example.com</code> in php?</p>
