odbc_connection_string_should_quote
(PHP 8 >= 8.2.0)
odbc_connection_string_should_quote — Determines if an ODBC connection string value should be quoted
Description
function odbc_connection_string_should_quote(
string $str):
bool
Note that this does not check if the string is already quoted; an
already quoted string will contain characters that will make this
function return true. You should call
odbc_connection_string_is_quoted() to check.
Parameters
str
-
The string to check for.
Return Values
true if the string should be quoted; false otherwise.