Documentation

getFileContents

resource public
\Bitrix\Main\IO\File::getFileContents(
 string $path
);

Static method returns file content as a single string.

Parameters

ParameterDescriptionVersion
$pathFull file path

Example



© «Bitrix24», 2001-2024
Up