Name

reg_match

Synopsis

$result = reg_match($expression, $string);
$result = reg_match($expression, $string, $array);

Identical to ereg. This function is included only for backwards compatibility with older versions of PHP.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.