odbc_connection_string_is_quoted

(PHP 8 >= 8.2.0)

odbc_connection_string_is_quotedDetermines if an ODBC connection string value is quoted

说明

odbc_connection_string_is_quoted(string $str): bool

Determines if a string is properly quoted for an ODBC connection string value. ODBC connection string quoting is performed using curly braces, and ending braces within a string must be escaped through repeating them twice, similar to SQL quoting.

参数

str

The string to check for quoting.

返回值

true if quoted properly, false if not.

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top