PHP 8.1.28 Released!

PharFileInfo::getContent

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

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

説明

public PharFileInfo::getContent(): string

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

パラメータ

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

戻り値

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top