|
PHP5中文手册
PharFileInfo->chmod(PECL phar:1.0.0-1.2.1) PharFileInfo->chmod — Sets file-specific permission bits 说明
void PharFileInfo->chmod
( int $permissions
)
PharFileInfo->chmod() allows setting of the executable file permissions bit, as well as read-only bits. Writeable bits are ignored, and set at runtime based on the phar.readonly INI variable. 范例
Example#1 A PharFileInfo->chmod() example
<?php 上例将输出:
|