Q. What will be the output?

Code:
echo strpos('abc', 'd');
  • (A) 0
  • (B) false
  • (C) NULL
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) false
Explanation: strpos returns false when substring not found.
Explanation by: Roshan
strpos returns false when substring not found.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
33
Total Visits
πŸ“½οΈ
5 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
92%
Success Rate