From 0f18b451e05e6a2d6af5b23a1332f7063f6d81bb Mon Sep 17 00:00:00 2001 From: Mikhail Alferov Date: Fri, 4 Jul 2025 06:30:04 +0300 Subject: [PATCH] stripos.xml Make the comment consistent --- reference/strings/functions/stripos.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;