PHP » GoLang |
login |
register |
about
|
GoLang Phar::setDefaultStub
request it (310)
GoLang replacement for PHP's Phar::setDefaultStub
[edit | history]
Phar::setDefaultStub(Unknown) Phar::setDefaultStub — Used 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
|
more
Recently updated
more
Most requested
more
Last requests
|