• Quick note - the problem with Youtube videos not embedding on the forum appears to have been fixed, thanks to ZiprHead. If you do still see problems let me know.

OOP, Classes and PHP4/5

The_Fire

Unimpressed Female
Joined
Jan 15, 2006
Messages
3,267
Location
8th level of Hell - Maleborgia
Ok, here's the deal: I've learned Object Oriented Programming in PHP5, but reality is that most of the clients I'll be working with in the immidiate future are probably hosted on either PHP4.4 or PHP4.3.

This means that the kick ass PHP5 OOP fully dynamic CMS system, I've almost completed won't work as it stands.

I've tried searching for a comparison of the two versions way of handling classes to make a backwards compatible version, but my google-fu doesn't seem to be working.

Anyone capable of helping me with this? What are the differences between classes under PHP4 and classes under PHP5?

I know that there's the constructor/deconstructor thing but anything else?
 
Try looking at the PHP manual? I mean... it's hard to just summarize the differences right here like that. But an important one is the appearance of real public/protected/private member variables and methods.
 

Back
Top Bottom