File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
reference/strings/functions Expand file tree Collapse file tree 1 file changed +2
-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: 45042fef652f1b4e904e809fcbfcf31f6c60670b Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: 004fb3136a8ed6dd1065e0eca256d1e4edafcb2c Maintainer: takagi Status: ready -->
4
4
<!-- CREDITS: hirokawa,mumumu -->
5
5
<refentry xml : id =" function.stripos" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
@@ -129,7 +129,7 @@ if ($pos1 === false) {
129
129
echo "The string '$findme' was not found in the string '$mystring1'", PHP_EOL;
130
130
}
131
131
132
- // === を使用していることに注意しましょう。単に = = としても期待通りに動作
132
+ // !== を使用していることに注意しましょう。単に ! = としても期待通りに動作
133
133
// しません。なぜなら 'a' は 0 番目(最初) の文字だからです。
134
134
if ($pos2 !== false) {
135
135
echo "We found '$findme' in '$mystring2' at position $pos2", PHP_EOL;
You can’t perform that action at this time.
0 commit comments