Q. Which PHP feature allows type declarations in function parameters?

  • (A) Strict typing
  • (B) Type hinting
  • (C) Casting
  • (D) Overloading
πŸ’¬ Discuss
βœ… Correct Answer: (B) Type hinting
Explanation: Type hinting enforces parameter data types.
Explanation by: Yami Thakur
Type hinting enforces parameter data types.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
64
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
92%
Success Rate