RarArchive::getCommentrar_comment_get(PECL rar >= 2.0.0) RarArchive::getComment -- rar_comment_get — Get comment text from the RAR archive ОписаниеОбъектно-ориентированный стиль (method):
public string RarArchive::getComment
( void
)
Процедурный стиль: Get the (global) comment stored in the RAR archive. It may be up to 64 KiB long.
Возвращаемые значенияReturns the comment or NULL if there is none.
Примеры
Пример #1 Объектно-ориентированный стиль
<?phpРезультатом выполнения данного примера будет что-то подобное: This is the comment of the file commented.rar.
Пример #2 Процедурный стиль
<?php |
||