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;