Name
sql_regcase
Synopsis
string sql_regcase(string match
)
Creates and returns a regular expression pattern that matches
match
, ignoring case. The resulting
pattern contains each character in match
in each case; for example, given “O’Reilly”, the function returns
“[Oo]['] [Rr][Ee][Ii][Ll][Ll][Yy]”.
Get Programming PHP, 2nd Edition 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.