Search Results
Return Values ¶ PharData::buildFromIterator () returns an associative array mapping internal path of file to the full path of the file on the filesystem.
Mar 11, 2026 · PharData::buildFromIterator () does not set values such as compression, metadata, and this can be done after creating the tar/zip archive. As an interesting note, PharData::buildFromIterator () can also be used to copy the contents of an existing phar, tar or zip archive, as the PharData object descends from DirectoryIterator:
PharData::buildFromIterator () does not set values such as compression, metadata, and this can be done after creating the tar/zip archive. As an interesting note, PharData::buildFromIterator () can also be used to copy the contents of an existing phar, tar or zip archive, as the PharData object descends from DirectoryIterator:
Valeurs de retour phardata:: buildFromIterator () retourne un tableau associatif faisant correspondre un chemin de fichier interne avec un chemin complet vers le fichier sur le système de fichiers.
Return Values PharData::buildFromIterator () returns an associative array mapping internal path of file to the full path of the file on the filesystem.
PharData::buildFromIterator does not set values such as compression, metadata, and this can be done after creating the tar/zip archive. As an interesting note, PharData::buildFromIterator can also be used to copy the contents of an existing phar, tar or zip archive, as the PharData object descends from DirectoryIterator:
PharData::buildFromIterator (PHP >= 5.3.0, PECL phar >= 2.0.0) PharData::buildFromIterator — Construct a tar or zip archive from an iterator.
