Search Results

  1. Caution Accessing the meta-data will trigger deserialization, which can trigger the execution of arbitrary PHP code. Do not use this on untrusted phar archives, or configure the unserializeOptions in a secure manner.

  2. Mar 12, 2026 · Return Values Any PHP value that can be serialized and is stored as meta-data for the Phar archive, or null if no meta-data is stored.

  3. Valeurs de retour N'importe quelle variable PHP pouvant être sérialisée et qui est stockée comme méta-donnée de l'archive Phar, ou null si aucune méta-donnée n'est stockée.

  4. I have packaged PHP application into executable Phar archive and have there inside one Class with method which should access executed Phar archive meta-data. I could get meta-data as shown below however that seems odd that I load same Phar inside the Phar archive executed in order to get it's meta-data.

  5. Valeurs de retour N'importe quelle variable PHP pouvant être sérialisée et qui est stockée comme méta-donnée de l'archive Phar, ou null si aucune méta-donnée n'est stockée.

  6. Return Values any PHP variable that can be serialized and is stored as meta-data for the Phar archive, or NULL if no meta-data is stored.

  7. Simple usage example of `PharFileInfo::getMetadata ()`. The PharFileInfo::getMetadata function is used to retrieve file-specific meta-data that was previously saved with a file in a Phar archive. This function allows you to access any custom information or additional data associated with a specific file within a Phar archive.