Documentation

MatchAllWithOffsetsResult
in package

Table of Contents

$count  : mixed
$matched  : bool
$matches  : mixed
An array of match group => list of matches, every match being a pair of string matched + offset in bytes (or -1 if no match)
__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 mixed $matches
Tags
readonly
phpstan-var

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

Return values
mixed

Search results