-
22 Jul
Some useful Magic methods of php
The “magic” methods are ones with special names, starting with two underscores(__) They are functions that are always defined inside classes, and are not stand-alone (outside of classes) functions. The magic functions available in PHP are below: __construct() __destruct() __call() __callStatic()
__get()
__set()
__isset()
__unset()
__sleep()
__wakeup()
__toString()
__set_state()
__invoke()
__clone()- Category :
- Methods of PHP
- PHP