Some instruction needed for PHP OOPS concepts.

Posted by Avinash on Stack Overflow See other posts from Stack Overflow or by Avinash
Published on 2010-05-21T06:24:44Z Indexed on 2010/05/21 6:40 UTC
Read the original article Hit count: 436

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about php5

Related posts about oop