I have a function that returns an array that looks like:
Array
(
[url] => http://foo.bar
[id] => 2
[special] = 0
)
.. and the only member of the array I'm interested in is the "url". Is there a way to return only that member?
$url = MyFunction($something)["url"];
doesn't work, and I've tested other alternatives.
Thanks in advance