You are here: Re: Object Oriented PHP « PHP Programming Language « IT news, forums, messages
Re: Object Oriented PHP

Posted by David Haynes on 06/25/06 02:31

Jerry Stuckle wrote:
> PHP does have some polymorphic-like abilities, but that's because of the
> untyped nature of the variables.
>
> PHP is getting better in it's OO aspects, but I doubt it will ever be
> quite like Java. There's just a basic difference between languages with
> typed and untyped variables.

I was thinking about this the other day and it may not be all that
difficult to add it.

Consider that you can already type the arguments to the constructor.
Given this, it would not be all that hard to derive a typed signature
which could then be applied.

-david-

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация