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
$matched
public
bool
$matched
Tags
$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
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}>