Re: Parents constructor
| From: | Robert Cummings | Date: | Fri, 24 Mar 2006 17:58:51 +0000 |
| Subject: | Re: Parents constructor | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232554@lists.php.net to get a copy of this message | ||
On Fri, 2006-03-24 at 10:50, Jochem Maas wrote:
> Pham Huu Le Quoc Phuc wrote:
> > I want to execute polymorphism.
> >
>
> ...BUT the OP didn't ask about polymorphism and php
> doesn't support it at all anyway.
Ummm, PHP supports polymorphism.. it has at least since PHP 4.
http://whatis.techtarget.com/definition/0,,sid9_gci212803,00.html
1 and 3 in the above link are supported. Number 2 is not, however, that
is usually referred to as function/method overloading and not so often
by polymorphism. Number 3 is the most common type when discussing
polymorphism.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'