explode(): Returns an array of strings, each of which is a substring of
string formed by splitting it on boundaries formed by the string
delimiter.
This function is pretty much straight forward.
$url = "http://example.com/project/controller/action/param1/param2";
$parts = explode(...