PharFileInfo::getContent

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

PharFileInfo::getContentGet the complete file contents of the entry

說(shuō)明

public PharFileInfo::getContent(): string

This function behaves like file_get_contents() but for Phar.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns the file contents.