Руководство по PHP
Пред. |  | След.

# PharFileInfo::isCRCChecked

(no version information, might be only in CVS)

PharFileInfo::isCRCChecked -- Returns whether file entry has had its CRC verified

## Описание

bool PharFileInfo::isCRCChecked ( void )

This returns whether a file within a Phar archive has had its CRC verified.

## Возвращаемые значения

`TRUE` if the file has had its CRC verified, `FALSE` if not.

## Примеры

Пример 1. A PharFileInfo->isCRCChecked() example

`<?php $p = new Phar('my.phar'); $p['myfile.txt'] = 'hi'; $file = $p['myfile.txt']; var_dump($file->isCRCChecked()); ?>`

Результат выполнения данного примера:

    bool(true)

Пред. | Начало | След.
PharFileInfo->getPharFlags | Уровень выше | PharFileInfo->isCompressed