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.delmetadata(3) - php
pharfileinfo.setmetadata(3) - php
phar.interceptfilefuncs(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework & Coursework Questions Forum
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun