[thelist] PHP resource...

Jon Haworth jhaworth at witanjardine.co.uk
Fri May 31 05:19:15 CDT 2002


Hi Chris,

> > So, I like OO programming. I learnt how to program with Java.
> > But I understand that PHP is not designed form the ground up
> > to be OO.
>
> Well, my layman understanding is that there's quite a bit of OO
> infrastructure built into PHP, especially from poking through
> some of the GPL'd PHP apps on Freshmeat and Sourceforge -
> they're outstanding!

PHP has limited support for OO. Specific problems are:
 - no overloading
 - no destructors
 - no private methods/properties
 - single inheritance only (IIRC)

Improving the OO bits is apparently a very high priority for the next
release.

Cheers
Jon





More information about the thelist mailing list