Hello friends! I've started this new web development series in which I'm showing about PHP - OOP (Object Oriented Programming) Approach. And this is the 10th video of this series in which I'm showing you about Magic Methods in PHP OOP.
Full Playlist of this series : • PHP - OOP Concepts
PHP functions that start with a double underscore – a “__” – are called magic functions (and/or methods) in PHP. 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: __construct(), __destruct(), __call(), __callStatic(), __get(), __set(), __isset(), __unset(), __sleep(), __wakeup(), __toString(), __invoke(), __set_state(), __clone(), and __autoload().
The definition of a magic function is provided by the programmer – meaning you, as the programmer, will actually write the definition. This is important to remember – PHP does not provide the definitions of the magic functions – the programmer must actually write the code that defines what the magic function will do. But, magic functions will never directly be called by the programmer – actually, PHP will call the function ‘behind the scenes’. This is why they are called ‘magic’ functions – because they are never directly called, and they allow the programmer to do some pretty powerful things.
#php_oop
#object_oriented_programming
#php_oop_concept
If you like my works and my video tutorials then you can donate me some amount.
**********************************************************
Paypal : https://www.paypal.me/wolfmania
Instamojo (Credit/Debit Card & UPI) : https://www.instamojo.com/@wolfmania
**********************************************************
Thanks for watching this video. If you like this video then hit like button, share this video, And Subscribe my Channel. Also like my Facebook page for latest updates.
**********************************************************
♥ Facebook Page - / dcodemania
♥ Myself On FB - / sahil4rock
♥ Instagram - / sahil4rock
♥ Twitter - / dcodemania
**********************************************************
Auf dieser Seite können Sie das Online-Video #10 PHP - OOP (Object Oriented Programming) Concepts | Magic Methods mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DCodeMania 17 September 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,256 Mal angesehen und es wurde von 56 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!