Skip to content

Commit a218890

Browse files
committed
stripos.xml Make the comment consistent
php/doc-en@004fb31
1 parent 1fcb672 commit a218890

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/strings/functions/stripos.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 45042fef652f1b4e904e809fcbfcf31f6c60670b Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 004fb3136a8ed6dd1065e0eca256d1e4edafcb2c Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa,mumumu -->
55
<refentry xml:id="function.stripos" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -129,7 +129,7 @@ if ($pos1 === false) {
129129
echo "The string '$findme' was not found in the string '$mystring1'", PHP_EOL;
130130
}
131131
132-
// === を使用していることに注意しましょう。単に == としても期待通りに動作
132+
// !== を使用していることに注意しましょう。単に != としても期待通りに動作
133133
// しません。なぜなら 'a' は 0 番目(最初) の文字だからです。
134134
if ($pos2 !== false) {
135135
echo "We found '$findme' in '$mystring2' at position $pos2", PHP_EOL;

0 commit comments

Comments
 (0)