-
What will be the output of the following PHP code?
<?php
echo stripos("I know the php, I love to know the php too!","know");
?>
-
- I know the php, I love to know the php too!
- Error
- 2
- 7
- None of these
Correct Option: C
The stripos() function finds the position of the first occurrence of a string inside another string.