PHARDATA.SETDEFAULTSTUB(3) 1 PHARDATA.SETDEFAULTSTUB(3)
PharData::setDefaultStub - dummy function (Phar::setDefaultStub is not valid for PharData)
SYNOPSIS
bool PharData::setDefaultStub ([string $index], [string $webindex])
DESCRIPTION
Non-executable tar/zip archives cannot have a stub, so this method simply throws an exception.
PARAMETERS
o $index
- Relative path within the phar archive to run if accessed on the command-line
o $webindex
- Relative path within the phar archive to run if accessed through a web browser
RETURN VALUES
Returns TRUE on success or FALSE on failure.
ERRORS
/EXCEPTIONS
Throws PharException on all method calls
SEE ALSO
Phar.setDefaultStub(3).
PHP Documentation Group PHARDATA.SETDEFAULTSTUB(3)