Search Results

  1. Note: This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. Populate a phar archive from an iterator. Two styles of iterators are supported, iterators that map the filename within the phar to the name of a file on disk, and iterators like DirectoryIterator that return SplFileInfo objects. For ...

  2. This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. Populate a phar archive from an iterator.

  3. This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown.

  4. Diese Methode des Phar -Objekts funktioniert nur wenn die php.ini -Einstellung phar.readonly auf 0 gesetzt ist, sonst wird eine PharException geworfen.

  5. The Phar class Table of Contents ¶ Phar::addEmptyDir — Add an empty directory to the phar archive Phar::addFile — Add a file from the filesystem to the phar archive Phar::addFromString — Add a file from a string to the phar archive Phar::apiVersion — Returns the api version Phar::buildFromDirectory — Construct a phar archive from the files within a directory Phar::buildFromIterator ...

  6. Simple usage example of `Phar::buildFromIterator ()`. The `Phar::buildFromIterator` function is used to build a phar archive from an iterator in PHP. It allows you to create a Phar (PHp ARchive) file, which is essentially a file format for packaging and distributing PHP applications or libraries. This function takes an iterator as input, which can be any object that implements the `Iterator ...

  7. This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. Populate a phar archive from an iterator.