public function getExtension()
    {
        if (version_compare(PHP_VERSION, '5.3.6') >= 0) {
            return parent::getExtension();
        } else {
            return ltrim(pathinfo($this->getAbsolutePath(), PATHINFO_EXTENSION), '.');
        }
    }
public function getExtension()
    {
        if (version_compare(PHP_VERSION, '5.3.6') >= 0) {
            return parent::getExtension();
        } else {
            return ltrim(pathinfo($this->getAbsolutePath(), PATHINFO_EXTENSION), '.');
        }
    }
public function getExtension ( ) { if ( version_compare ( PHP_VERSION , '5.3.6' ) >= 0 ) { return parent :: getExtension ( ) ; } else { return ltrim ( pathinfo ( $ this -> getAbsolutePath ( ) , PATHINFO_EXTENSION ) , '.' ) ; } }
return file extension. method was implemented as of version 5.3.6,
we will therefore check, which version we got and extract the extension
on our own otherwise

@return      string
return file extension . method was implemented as of version 5 . 3 . 6 we will therefore check which version we got and extract the extension on our own otherwise