public function getExtension() {
		$dotPos = strrpos($this->path, '.');
		
		if ($dotPos === false) {
			return;
		}
		
		return substr($this->path, $dotPos + 1);
	}
public function getExtension() {
		$dotPos = strrpos($this->path, '.');
		
		if ($dotPos === false) {
			return;
		}
		
		return substr($this->path, $dotPos + 1);
	}
public function getExtension ( ) { $ dotPos = strrpos ( $ this -> path , '.' ) ; if ( $ dotPos === false ) { return ; } return substr ( $ this -> path , $ dotPos + 1 ) ; }
Get extension of file

@return string | null
Get extension of file