Documentation

getExtension

resource public
\Bitrix\Main\IO\Path::getExtension(
 string $path
);

Static method gets path and returns file extension.

Parameters

ParameterDescriptionVersion
$pathFile path

Example



© «Bitrix24», 2001-2022
Up