πŸ“Š PHP
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

πŸ‘οΈ
2
Total Visits
πŸ“½οΈ
8 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
89%
Success Rate