PharFileInfo::delMetadata — Deletes the metadata of the entry
Description
boolPharFileInfo::delMetadata
( void
)
Deletes the metadata of the entry, if any.
Parameters
No parameters.
Return Values
Returns TRUE if successful, FALSE if the entry had no metadata.
As with all functionality that modifies the contents of
a phar, the phar.readonly INI variable
must be off in order to succeed if the file is within a Phar
archive. Files within PharData archives do not have
this restriction.
Errors/Exceptions
Throws PharException if errors occurred while flushing
changes to disk, and BadMethodCallException if
write access is disabled.