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
说明
Determines if a string needs to be quoted for an ODBC connection string value; that is, if it contains special characters.
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.
参数
str
-
The string to check for.
参见
- odbc_connection_string_quote() - Quotes an ODBC connection string value
- odbc_connection_string_is_quoted() - Determines if an ODBC connection string value is quoted
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.odbc-connection-string-should-quote.php