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
phardata(3) - php
pharfileinfo.getmetadata(3) - php
phardata.extractto(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team