update : 2015.11.03
php.shukuma.com검색:
|
Phar::setMetadata(PHP >= 5.3.0, PECL phar >= 1.0.0) Phar::setMetadata — Sets phar archive meta-data 설명
Phar::setMetadata() should be used to store customized data that describes something about the phar archive as a complete entity. PharFileInfo::setMetadata() should be used for file-specific meta-data. Meta-data can slow down the performance of loading a phar archive if the data is large. Some possible uses for meta-data include specifying which file within the archive should be used to bootstrap the archive, or the location of a file manifest like » PEAR's package.xml file. However, any useful data that describes the phar archive may be stored. 인수
반환값값을 반환하지 않습니다. 예제
Example #1 A Phar::setMetadata() example
<?php 위 예제의 출력: array(1) { ["bootstrap"]=> string(8) "file.php" } 참고
|