PHP OOP & MySQLi Lesson 8: Magic Methods (Urdu/Hindi)

preview_player
Показать описание
If you already know PHP Procedural or PHP Basic programming then it's the right time for you to start learning PHP OOP. OOP is paradigm which is widely used in a lot of

application domains. After learning OOP PHP, you will be able to build websites with large scope.

Want to buy my courses?

Contact

WhatsApp: +92 332 4737443
Mobile: +92 332 4737443
Рекомендации по теме
Комментарии
Автор

A PHP reference is an alias, which allows two different variables to write to the same value. As of PHP 5, an object variable doesn't contain the object itself as value anymore. It only contains an object identifier which allows object accessors to find the actual object. When an object is sent by argument, returned or assigned to another variable, the different variables are not aliases: they hold a copy of the identifier, which points to the same object.

This is from php.net doc. I am confused in your tut interval 11.44, what you have explained.how can obj1 and obj have same memory location? According to the php.net doc. I am completely confused after reading the doc. When I watch your tutorial, I almost understand 80%, now I am dumbfounded after reading the doc.

alamriku
Автор

السلام عليكم sir magics methods k use kaha pr hota ha
kindly koi situation ya scenerio discuess key plz.
in last i like your tutorials

orealaslam
Автор

what is the main reason of using magic methods in php??
instead of __construct and __destruct

orealaslam