Documentation

MatchResult
in package

FinalYes

Table of Contents

Properties

$matched  : bool
$matches  : array<int|string, string|null>
An array of match group => string matched

Methods

__construct()  : mixed

Properties

$matches

An array of match group => string matched

public array<int|string, string|null> $matches
Tags
readonly

Methods

__construct()

public __construct(0|positive-int $count, array<string|int, string|null> $matches) : mixed
Parameters
$count : 0|positive-int
$matches : array<string|int, string|null>

        
On this page

Search results