Notifications
Clear all
Topic starter 27/10/2024 6:09 pm
in oop php what is a magic method ?
Topic starter 27/10/2024 6:09 pm
Magic methods are special methods which override PHP's default's action when certain actions are performed on an object. All methods names starting with __ are reserved by PHP. Therefore, it is not recommended to use such method names unless overriding PHP's behavior.