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
$count
public
0|positive-int
$count
Tags
$matched
public
bool
$matched
Tags
$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
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}>>