Q. Which function is used to remove HTML and PHP tags from a string?

  • (A) strip_tags()
  • (B) htmlspecialchars()
  • (C) remove_tags()
  • (D) clean()
πŸ’¬ Discuss
βœ… Correct Answer: (A) strip_tags()
Explanation: strip_tags() removes all HTML and PHP tags from a string.
Explanation by: Mr. Dubey
strip_tags() removes all HTML and PHP tags from a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate