Documentation

MatchWithOffsetsResult
in package

FinalYes

Table of Contents

Properties

$matched  : bool
$matches  : array<int|string, array{: string|null, : int}>
An array of match group => pair of string matched + offset in bytes (or -1 if no match)

Methods

__construct()  : mixed

Properties

$matches

An array of match group => pair of string matched + offset in bytes (or -1 if no match)

public array<int|string, array{: string|null, : int}> $matches
Tags
readonly
phpstan-var

array<int|string, array{string|null, int<-1, max>}>

Methods

__construct()

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

array<int|string, array{string|null, int<-1, max>}> $matches


        
On this page

Search results