Documentation

MatchAllWithOffsetsResult
in package

FinalYes

Table of Contents

Properties

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

Methods

__construct()  : mixed

Properties

$matches

An array of match group => list of matches, every match being a pair of string matched + offset in bytes (or -1 if no match)

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

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

Methods

__construct()

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

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


        
On this page

Search results