Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<odbc_connectodbc_connection_string_quote>
^ODBC FunctionsLast updated: Mon, 26 Oct 2026

odbc_connection_string_is_quoted

(PHP 8 >= 8.2.0)

odbc_connection_string_is_quoted — Determines if an ODBC connection string value is quoted

Description

function 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.

Parameters

str

The string to check for quoting.

Return Values

true if quoted properly, false if not.

See Also


<odbc_connectodbc_connection_string_quote>
^ODBC FunctionsLast updated: Mon, 26 Oct 2026