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
selfpcreLastErrorMessage()
private
static pcreLastErrorMessage(int $code) : string
Parameters
- $code : int