|
Phar::setDefaultStubUsed to set the PHP loader or bootstrap stub of a Phar archive to the default loader Beschreibung
public bool Phar::setDefaultStub
([ string
$index
[, string $webindex
]] )
This method is a convenience method that combines the functionality of Phar::createDefaultStub and Phar::setStub. Parameter-Liste
Rückgabewerte
Gibt bei Erfolg Fehler/ExceptionsUnexpectedValueException is thrown if phar.readonly is enabled in php.ini. PharException is thrown if any problems are encountered flushing changes to disk. Beispiele
Beispiel #1 A Phar::setDefaultStub example
<?phpSiehe auch
|