Php/docs/pharfileinfo.getcontent

提供:Dev Guides
< Php
移動先:案内検索

PharFileInfo::getContent

(PHP 5 >= 5.3.0, PHP 7)

PharFileInfo::getContentエントリの完全なファイルの内容を取得する


説明

public PharFileInfo::getContent ( ) : string

この関数は file_get_contents() のように振る舞いますが、 Phar 専用です。


パラメータ

この関数にはパラメータはありません。


返り値

ファイルの内容を返します。