Q. Which PHP feature enforces strict type checking?

  • (A) declare(strict_types=1)
  • (B) type_check()
  • (C) strict_mode()
  • (D) php_strict()
πŸ’¬ Discuss
βœ… Correct Answer: (A) declare(strict_types=1)
Explanation: Enables strict type checking.
Explanation by: Kanak Sharma
Enables strict type checking.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
51
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
84%
Success Rate