File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: d5a469df43e34526de33d5ee0e9f8788af2fe443 Maintainer: mumumu Status: ready -->
3
+ <!-- EN-Revision: 40364a64d707d6ec49f6870045807c93e09dba6d Maintainer: mumumu Status: ready -->
4
4
<sect1 xml : id =" migration82.other-changes" xmlns : xlink =" http://www.w3.org/1999/xlink" >
5
5
<title >その他の変更</title >
6
6
50
50
<function >strcmp</function >, <function >strcasecmp</function >,
51
51
<function >strncmp</function >, <function >strncasecmp</function >,
52
52
<function >substr_compare</function > は、
53
- <literal >-1</literal >, <literal >0</literal >, <literal >1</literal > を返すようになりました。
53
+ 比較対象の文字列の長さが等しくないときに <code >strlen($string1) - strlen($string2)</code > を返すことが保証されなくなり、
54
+ <literal >-1</literal > や <literal >1</literal > を返すようになりました。
55
+ 返される具体的な値に依存する代わりに、これらの関数の戻り値は
56
+ <literal >0</literal > と比較すべきです。
54
57
</para >
55
58
</sect3 >
56
59
You can’t perform that action at this time.
0 commit comments