array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.odbc-connection-string-should-quote.php', 1 => 'odbc_connection_string_should_quote', ), 'up' => array ( 0 => 'ref.uodbc.php', 1 => 'ODBC Funktionen', ), 'prev' => array ( 0 => 'function.odbc-connection-string-quote.php', 1 => 'odbc_connection_string_quote', ), 'next' => array ( 0 => 'function.odbc-cursor.php', 1 => 'odbc_cursor', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/uodbc/functions/odbc-connection-string-should-quote.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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.