|
Phar::setDefaultStubUsed to set the PHP loader or bootstrap stub of a Phar archive to the default loader Description
public bool Phar::setDefaultStub
([ string
$index
[, string $webindex
]] )
This method is a convenience method that combines the functionality of Phar::createDefaultStub and Phar::setStub. Parameters
Return Values
Returns Errors/ExceptionsUnexpectedValueException is thrown if phar.readonly is enabled in php.ini. PharException is thrown if any problems are encountered flushing changes to disk. Examples
Example #1 A Phar::setDefaultStub example
<?php See Also
|