Jump to content

Recommended Posts

The Elemental Design team were thinking of switching to better hosts and the one chosen gives the option of having PHP 4 or 5 installed on the server. Since I'm the Lead Programmer, the decision fell to me and I've read up a bit on the differences between the two but they don't have much relevance to me and Elemental Design.

I've used object-orientation and apparently one of the main differences between PHP 4 and 5 is its object-oriented (shouldn't that be orientated?) stuff. I was just wondering if I would have to rewrite all my classes to use stuff like __constructor where previously I'd just been using the class name as the method name or if it's back-compatible and either will work? If I do have to re-write them, is it worth it?

Thanks
Link to comment
https://forums.phpfreaks.com/topic/11509-php-4-to-5/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.