Some instruction needed for PHP OOPS concepts.
- by Avinash
Hi,
I need to clear some OOPS concepts in PHP.
1) Which is faster $this-method(); or self:method();
2) I know the concept of static keyword but can you please post the actual Use of it. Since it can not be accessed by the instance, but is there ant benefit for that?
3) what is factory? How can i use it?
4) What is singleton? How can i use that?
5) What is late static binding?
http://www.php.net/manual/en/oop5.intro.php
I have gone through below link but I am not getting clear with it.
Thanks
Avinash