PHP - Manual: PharFileInfo::hasMetadata
2024-12-22
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.2.0)
PharFileInfo::hasMetadata — Returns the metadata of the entry
Returns the metadata of a file within a phar archive.
No parameters.
Returns false
if no metadata is set or is null
, true
if metadata is not null
官方地址:https://www.php.net/manual/en/pharfileinfo.hasmetadata.php