(PHP >= 5.3.0, PECL phar >= 1.0.0)
Used to set the PHP loader or bootstrap stub of a Phar archive
public bool Phar::setStub ( string $stub [, int $len = -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 method is used to add a PHP bootstrap loader stub to a new Phar archive, or to replace the loader s