Posted by Koncept on 10/30/06 13:35
In article <1162104223.651455.177060@b28g2000cwb.googlegroups.com>,
<petersprc@gmail.com> wrote:
> function get(& $array, $key)
> {
> return $array[$key];
> }
>
> $ext = get(pathinfo($file), 'extension');
Nice and clean! Will do nicely. Thanks. :)
--
Koncept <<
"The snake that cannot shed its skin perishes. So do the spirits who are
prevented from changing their opinions; they cease to be a spirit." -Nietzsche
Navigation:
[Reply to this message]
|