PHP Fails with loose string comparison?
PHP和宽松的字符串比较失败吗?
Specifies the default string comparison method for a project.
指定专案的预设字串比较方法。
Experimentally, I also found that a looping string comparison is faster than taking a slice.
经过实验,我还发现循环字符串比较操作速度都非常快。
This ensures that the date comparison is used in the query, rather than standard string comparison.
这可以确保在查询中使用日期比较,而不是标准的字符串比较。
This enables you to do object comparisons on these strings rather than a more expensive string comparison.
这使您能够对这些字符串进行对象比较,而不是开销更大的字符串比较。
Any attempt to perform a string comparison on an employee ID will then fail with a type error at query run time.
在查询运行时,尝试在雇员ID上执行字符串比较将遭到失败,并产生一个类型错误。
This warning indicates that a string copy function was used where a string comparison function should have been used.
此警告意味着在应当使用字符串比较函数的位置使用了字符串复制函数。
Here, protocol information is retrieved from the request object (by means of the EL's pageContext implicit object) and tested using a simple string comparison.
在这里,检索请求对象而获得协议信息(通过EL的pagecontext隐式对象),并用简单的字符串比较对协议信息进行测试。
In_word_set: This routine USES hash to determine whether a particular string belongs to the user-supplied list, using one string comparison in the most common case.
in _ word_set:该例程使用hash确定某个字符串是否属于用户提供的列表,大多数情况下只使用一个字符串比较。
We found a bigger difference for queries that touch a large number of rows, such as a table scan over all 20,000 XML documents with string comparison on every document.
我们发现涉及大量行的查询的性能差异比较大,比如对所有20,000个XML文档进行全表扫描并对每个文档比较字符串。
Perfect property: Locating a table entry requires o (1) time-that is, at most, one string comparison is required to perform keyword recognition within the static search set.
perfectproperty:查找时间复杂度为o(1)的表条目—就是说,至多需要一个字符串比较执行静态搜索集中的关键字识别。
Regardless of how the name table is loaded with names, once the names are stored in the table, names can be compared quickly using object comparison instead of string comparison.
无论如何为名称表加载名称,一旦名称存储在表中,便可以使用对象比较(而不是字符串比较)来快速比较名称。
For comparison, Table 2 includes times for String and StringBuffer.
为了比较,表2还包含了String和StringBuffer的时间。
The comparison can be further controlled by specifying an optional list of attributes to be excluded from comparison and the style of comparison for String-valued attributes.
要进一步控制比较,可以指定不用于比较的可选属性,以及为值为String的属性指定比较方式。
Notice that the codepoints-to-string example also uses two of the new XPath value comparison operators: lt (less than) and gt (greater than).
请注意,codepoints-to-string的例子还用到了两个新的XPath值比较运算符:lt(小于)和gt(大于)。
Or, even better, if you could only make one comparison in order to be sure the string doesn't exist anywhere in the array.
或者您可以只做一次对比就可以得出在列表中是否存在字符串。
The comparison operation determines whether the first string lexical ly precedes the second or if the two strings are lexical ly equal.
比较操作可以确定第一个字符串是否在词法上排在第二个字符串之前,或者这两个字符串是否在词法上相等。
A programming language which is designed for string manipulation and pattern match comparison.
为串处理和模式匹配比较而设计的一种编程语言。
The comparison operation determines whether the first string lexically precedes the second or if the two strings are lexically equal.
比较操作可以确定第一个字符串是否在词法上排在第二个字符串之前,或者这两个字符串是否在词法上相等。
The solution to this problem is to normalize each string, then use an ordinal comparison to sort the strings.
对于此问题的解决方法是对每个字符串进行正常化,然后使用序号比较对字符串进行排序。
For example, the traditional string collation using byte-wise comparison works with UTF-8.
例如,传统的逐字节比较方式的字符排序表在UTF-8 下也能工作。
Determines whether the end of this string instance matches the specified string when compared using the specified comparison option.
确定使用指定的比较选项进行比较时此字符串实例的结尾是否与指定的字符串匹配。
Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option.
确定在使用指定的比较选项进行比较时此字符串实例的开头是否与指定的字符串匹配。
The comparison operation determines whether the first string lexically precedes the second or the two strings are lexically equal.
比较操作可以确定是第一个字符串在词法上排在第二个字符串之前,还是这两个字符串在词法上相等。
For example, if an application compares a string to determine whether it is a recognized XML tag, the comparison should not be culture-sensitive.
例如,如果应用程序进行字串的比较,以判断该字串是否为可以辨认的XML标记,则这项比较就不应是区分文化特性的。
For example, if an application compares a string to determine whether it is a recognized XML tag, the comparison should not be culture-sensitive.
例如,如果应用程序进行字串的比较,以判断该字串是否为可以辨认的XML标记,则这项比较就不应是区分文化特性的。
应用推荐