Documentation

MatchWithOffsetsResult
in package

Table of Contents

$matched  : bool
$matches  : mixed
An array of match group => pair of string matched + offset in bytes (or -1 if no match)
__construct()  : mixed

Properties

$matches

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

public mixed $matches
Tags
readonly
phpstan-var

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

Methods

__construct()

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

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

Return values
mixed

Search results