πŸ“Š PHP
Q. Why is eval() considered dangerous?
  • (A) It is slow
  • (B) It consumes memory
  • (C) It allows arbitrary code execution
  • (D) It causes syntax errors
πŸ’¬ Discuss
βœ… Correct Answer: (C) It allows arbitrary code execution

Explanation: eval() can execute malicious code if input is not trusted.

Explanation by: Mr. Dubey
eval() can execute malicious code if input is not trusted.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2
Total Visits
πŸ“½οΈ
22 h ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate