Search Results

  1. Extract all files within a phar archive to disk. Extracted files and directories preserve permissions as stored in the archive. The optional parameters allow optional control over which files are extracted, and whether existing files on disk can be overwritten. The second parameter files can be either the name of a file or directory to extract, or an array of names of files and directories to ...

  2. Hinweis: Diese Methode des Phar -Objekts funktioniert nur wenn die php.ini -Einstellung phar.readonly auf 0 gesetzt ist, sonst wird eine PharException geworfen. 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.

  3. C'est une implémentation de l'interface ArrayAccess qui permet la manipulation directe du contenu d'une archive Phar en utilisant les crochets d'accès au tableau. offsetUnset est utilisé pour supprimer un fichier existant et est appelé par la fonction unset ().

  4. Efface une fichier au sein d'une archive phar. C'est l'équivalent fonctionnel de l'appel à unlink () dans un contexte de flux, comme décrit dans l'exemple suivant...

  5. phar manages PHP Archive (PHAR) files, which bundle PHP applications into single distributable files. PHAR files can include PHP code, assets, and metadata, and can be executed directly by PHP. The tool supports creating, modifying, extracting, and signing PHAR archives. Signing ensures archive integrity and authenticity using hash algorithms or OpenSSL keys.

  6. The Phar class Introduction (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) The Phar class provides a high-level interface to accessing and creating phar archives.

  7. People also ask

  8. The PHAR file format provides a way to put entire PHP applications into a single file called a “phar” (PHP Archive) for easy distribution and installation.

  1. People also search for