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
pharfileinfo.delmetadata(3) - php
phar.setstub(3) - php
phar.setmetadata(3) - php
phar.createdefaultstub(3) - php
pharfileinfo.chmod(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework & Coursework Questions Forum
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update