phardata.setdefaultstub(3) php man page | unix.com

Man Page: phardata.setdefaultstub

Operating Environment: php

Section: 3

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)
Related Man Pages
phar.setstub(3) - php
phardata(3) - php
phar.getmetadata(3) - php
pharfileinfo.setmetadata(3) - php
phar.interceptfilefuncs(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update