Documentation

PHP
in package

FinalYes
Tags
psalm-immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Properties

$extensions  : array<string|int, mixed>
$extraVersion  : string
$majorVersion  : int
$minorVersion  : int
$releaseVersion  : int
$sapi  : string
$version  : string
$versionId  : int

Methods

__construct()  : mixed
extensions()  : array<string|int, mixed>
extraVersion()  : string
majorVersion()  : int
minorVersion()  : int
releaseVersion()  : int
sapi()  : string
version()  : string
versionId()  : int

Properties

$extensions read-only

private array<string|int, mixed> $extensions
Tags
psalm-var

list

$extraVersion read-only

private string $extraVersion

$majorVersion read-only

private int $majorVersion

$minorVersion read-only

private int $minorVersion

$releaseVersion read-only

private int $releaseVersion

$sapi read-only

private string $sapi

$version read-only

private string $version

$versionId read-only

private int $versionId

Methods

__construct()

public __construct() : mixed

extensions()

public extensions() : array<string|int, mixed>
Tags
psalm-return

list

Return values
array<string|int, mixed>

extraVersion()

public extraVersion() : string
Return values
string

majorVersion()

public majorVersion() : int
Return values
int

minorVersion()

public minorVersion() : int
Return values
int

releaseVersion()

public releaseVersion() : int
Return values
int

sapi()

public sapi() : string
Return values
string

version()

public version() : string
Return values
string

versionId()

public versionId() : int
Return values
int

        
On this page

Search results