Originally Posted by Custard7A
Can PHP even hold a candle to the OO in languages like Java?
Probably not, but whilst Java is loading the object hierarchy for wax to overload the candle PHP has pulled 20 of then from the DB lit then and stuck them in a chandelier in the pattern of your choice
For years its been noted that PHP OO does not have, this that or the other... overloading, abstracts, interfaces all jump to mind, we have those now , namespaces etc + the old multiple inheritance question which no one can agree on in any language
Fou-Lou can I am sure give more specifics about what is missing in the PHP implementation vs other languages, he has a far broader knowledge than most here.
But whilst PHP allows loose/weak typing then its probably not going to be considered capable of being a 'true' OO language.
Though Wikipedia says this...
Originally Posted by http://en.wikipedia.org/wiki/Object-based_language
Object-based languages that do not support inheritance or subtyping are usually not considered to be true object-oriented languages
So it depends on the definition of 'true' OO , PHP passes the above test?