PharData::delete

PharData::delete

(PHP >= 5.3.0, PECL phar >= 2.0.0)

PharData::deleteDelete a file within a tar/zip archive

Description

bool PharData::delete ( string $entry )

Delete a file within an archive. This is the functional equivalent of calling unlink() on the stream wrapper equivalent, as shown in the example below.

Parameters

entry

Path within an archive to