Over a million developers have joined DZone.

Get File Extension

·

function file_extension($filename)
{
    $path_info = pathinfo($filename);
    return $path_info['extension'];
}
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}