πŸ“Š PHP
Q. Which PHP function checks if a string contains another string?
  • (A) strpos()
  • (B) str_find()
  • (C) contains()
  • (D) str_has()
πŸ’¬ Discuss
βœ… Correct Answer: (A) strpos()

Explanation: strpos() returns the position of a substring.

Explanation by: Yami Thakur
strpos() returns the position of a substring.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2
Total Visits
πŸ“½οΈ
20 h ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
81%
Success Rate