Beispiel #1
0
/**
 * Escapes text for SQL LIKE special characters % and _.
 *
 * @param string $text The text to be escaped.
 * @return string text, safe for inclusion in LIKE query.
 */
function str_esc_sql_like($string)
{
    return \Phpf\Util\Str::escSqlLike($string);
}