Jump to content

Coding for PHP4?


jordanwb

Recommended Posts

personally, i don't anymore, but it depends on your client base. who are you writing the code for? are they guaranteed to have PHP5+?

 

if any questions are unknown, you should probably support PHP4 still. sadly, there are several hosting services still out there running PHP4...

Link to comment
Share on other sites

personally, i don't anymore, but it depends on your client base. who are you writing the code for? are they guaranteed to have PHP5+?

 

if any questions are unknown, you should probably support PHP4 still. sadly, there are several hosting services still out there running PHP4...

 

Yeah it's not exactly hard to upgrade to a somewhat recent version.

Link to comment
Share on other sites

i was always wondering..

 

is php5 compatible on earlier version of php?

 

Not always. Some functions have parameters added in PHP5. For example in setcookie, the httponly parameter was added in 5.2, but depending what functions you're using there may be no problems.

Link to comment
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.