what is the output below mentioned?

<?php
$findme = 'a';

$mystring2 = 'ABC';
$pos1 = stripos($mystring2, $findme);
if ($pos1 === false) {
echo "string is not matched";
}
else
{echo ‘ match found’;}
?>

a) String not matched
b) Match found
c) All of the above
d) None of the above


ANS : b (note stripos)

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.