Beginner PHP
Q39 / 100

What are PHP magic methods?

Correct! Well done.

Incorrect.

The correct answer is B) Special double-underscore methods automatically called by PHP in certain situations

B

Correct Answer

Special double-underscore methods automatically called by PHP in certain situations

Explanation

Magic methods like __construct, __get, __set, __toString, __invoke are called automatically by PHP in specific contexts.

Progress
39/100