php8.5
Home/ Manual/ phar / Phar/ Phar::getAlias

Phar::getAlias

PHP function Edit on GitHub ✎

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.2.1)

Get the alias for Phar

Description

Phar::getAlias(): string|null

Func

Parameters Parameters

Return Values

Returns the alias or null if there's no alias.

Source: reference/phar/Phar/getAlias.xml · from the official PHP manual (php/doc-en)