Hi,
I'm creating a huge script open for public use. I have written it for PHP 5 (will soon work on PHP 6 too), but I am wondering is it worth to support PHP 4? How many PHP 4 only powered servers are there?
Supporting PHP 4 necessary?
Moderator: General Moderators
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
Re: Supporting PHP 4 necessary?
No use in supporting PHP4, and, if you're working with classes, supporting PHP4 sucks because of the bad OO support of PHP4.
If your server doesn't support PHP5, it's time to switch provider.
If your server doesn't support PHP5, it's time to switch provider.
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
Re: Supporting PHP 4 necessary?
That sounds good to mepkbruker wrote:No use in supporting PHP4, and, if you're working with classes, supporting PHP4 sucks because of the bad OO support of PHP4.
If your server doesn't support PHP5, it's time to switch provider.
Re: Supporting PHP 4 necessary?
It's certainly about time people abandoned PHP4, but there are still a lot of servers out there that aren't running 5. If you want maximum penetration you'll have to support 4 as well. The real question is whether you want maximum, or if you want less hassle.
I still have to code for 4 on some work stuff but all my own stuff is running on 5.
I still have to code for 4 on some work stuff but all my own stuff is running on 5.