Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$title is deprecated in /home/www/dev/work/website/lvesu/class/controller/blog/php.php on line 28

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/php.manual.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
PHP - Manual: odbc_connection_string_should_quote - 互联网笔记

略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: odbc_connection_string_should_quote

2025-04-27

odbc_connection_string_should_quote

(PHP 8 >= 8.2.0)

odbc_connection_string_should_quoteDetermines if an ODBC connection string value should be quoted

说明

odbc_connection_string_should_quote(string $str): bool

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.

返回值

true if the string should be quoted; false otherwise.

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/function.odbc-connection-string-should-quote.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3