[DOC-CVS] [doc-en] master: stripos.xml Make the comment consistent (#4757)
[email protected] (Mikhail Alferov via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: Crell
Date: 2025-10-02T16:04:49-05:00
Commit: https://github.com/php/doc-en/commit/004fb3136a8ed6dd1065e0eca256d1e4edafcb2c
Raw diff: https://github.com/php/doc-en/commit/004fb3136a8ed6dd1065e0eca256d1e4edafcb2c.diff
stripos.xml Make the comment consistent (#4757)
Changed paths:
M reference/strings/functions/stripos.xml
Diff:
diff --git a/reference/strings/functions/stripos.xml b/reference/strings/functions/stripos.xml
index 2fbe1aa3dda0..e30d830b6e86 100644
--- a/reference/strings/functions/stripos.xml
+++ b/reference/strings/functions/stripos.xml
@@ -128,7 +128,7 @@ if ($pos1 === false) {
echo "The string '$findme' was not found in the string '$mystring1'", PHP_EOL;
}
-// Note our use of ===. Simply == would not work as expected
+// Note our use of !==. Simply != would not work as expected
// because the position of 'a' is the 0th (first) character.
if ($pos2 !== false) {
echo "We found '$findme' in '$mystring2' at position $pos2", PHP_EOL;