diff --git a/appendices/migration82/other-changes.xml b/appendices/migration82/other-changes.xml index d2ed7dfc3a..600c53f6fb 100644 --- a/appendices/migration82/other-changes.xml +++ b/appendices/migration82/other-changes.xml @@ -1,6 +1,6 @@ - + その他の変更 @@ -50,7 +50,10 @@ strcmp, strcasecmp, strncmp, strncasecmp, substr_compare は、 - -1, 0, 1 を返すようになりました。 + 比較対象の文字列の長さが等しくないときに strlen($string1) - strlen($string2) を返すことが保証されなくなり、 + -11 を返すようになりました。 + 返される具体的な値に依存する代わりに、これらの関数の戻り値は + 0 と比較すべきです。