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. This is an implementation of the ArrayAccess interface allowing direct manipulation of the contents of a Phar archive using array access brackets. offsetSet is used for modifying an existing file, or adding a new file to a Phar archive.

  2. 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. This is an implementation of the ArrayAccess interface allowing direct manipulation of the contents of a Phar archive using array access brackets. offsetSet is used for modifying an existing file, or adding a new file to a Phar archive.

  3. Simple usage example of `Phar::offsetSet ()`. Phar::offsetSet is a PHP function that allows you to set the contents of an internal file in a Phar archive to be the same as an external file. It is commonly used to update or replace the contents of a file within a Phar archive.

  4. This is an implementation of the ArrayAccess interface allowing direct manipulation of the contents of a Phar archive using array access brackets. offsetSet is used for modifying an existing file, or adding a new file to a Phar archive.

  5. English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.

  6. PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

  7. PharData::offsetSet (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) PharData::offsetSet — Set the contents of a file within the tar/zip to those of an external file or string