πŸ“Š PHP
Q. Which PHP 8.1 feature introduces read-only properties?
  • (A) final properties
  • (B) immutable properties
  • (C) readonly properties
  • (D) constant properties
πŸ’¬ Discuss
βœ… Correct Answer: (C) readonly properties

Explanation: PHP 8.1 introduced readonly properties that can be written only once.

Explanation by: Mr. Dubey
PHP 8.1 introduced readonly properties that can be written only once.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
38
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate