preg_match

Performs a regular expression match against a string and returns whether a match was found.

Parameters

main.php
PHP 8.4 | UTF-8
Ready
Line: 1, Column: 1

Return Values

Notes

Changelog

Related Functions

Performs a regular expression search and replace operation on a string or array of strings.

regexpatternreplace

strlen

String

Returns the length of a string in bytes.

lengthvalidationsecurity

is_array

Variable

Checks whether a variable is an array.

validationtype-checksafety

isset

Variable

Determines if a variable is declared and is different than null.

checkvalidationsafety

empty

Variable

Determines whether a variable is empty. A variable is considered empty if it does not exist or if its value equals false.

validationcheckinput