Documentation

PcreException extends RuntimeException
in package

Table of Contents

Methods

fromFunction()  : self
pcreLastErrorMessage()  : string

Methods

fromFunction()

public static fromFunction(string $function, string|array<string|int, string> $pattern) : self
Parameters
$function : string
$pattern : string|array<string|int, string>
Return values
self

pcreLastErrorMessage()

private static pcreLastErrorMessage(int $code) : string
Parameters
$code : int
Return values
string

        
On this page

Search results