PHP 4 or PHP 5 as a minimum requirement?
Moderator: General Moderators
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
PHP 4 or PHP 5 as a minimum requirement?
Hi,
Can someone give me any links to PHP 4 market share? I would like to know how many people still need a script that works on PHP 4. I'm worried about PHP.net releasing newer PHP 4 version all over again and again. How many servers are using PHP 4? Should I base my script on code that works on PHP 4?
Can someone give me any links to PHP 4 market share? I would like to know how many people still need a script that works on PHP 4. I'm worried about PHP.net releasing newer PHP 4 version all over again and again. How many servers are using PHP 4? Should I base my script on code that works on PHP 4?
Re: PHP 4 or PHP 5 as a minimum requirement?
You can't even write good, flexible code without the object-oriented features of php5.
I don't know what the market-share is, but I haven't come across a mainstream host that uses php4 in a while actually.
http://gophp5.org/
I don't know what the market-share is, but I haven't come across a mainstream host that uses php4 in a while actually.
http://gophp5.org/
Re: PHP 4 or PHP 5 as a minimum requirement?
Don't be silly. Of course you can. People did for years and years. PHP5's objects have a number of advantages over those in 4, but code quality isn't one.panic! wrote:You can't even write good, flexible code without the object-oriented features of php5.
Re: PHP 4 or PHP 5 as a minimum requirement?
Personally, I couldn't live without the features that php5 offers, but I am 5 years old and you are 90.
Re: PHP 4 or PHP 5 as a minimum requirement?
By the way I'm talking about magic methods for things like activerecord.
Re: PHP 4 or PHP 5 as a minimum requirement?
I don't think there is something to worry there. php 4 is officially dead and not supported anymore. Only thing that may come up is security patch. It's time to move on so I suggest you insist on php5.....at worst of course offer solutions for php 4 to php5 migration.kaisellgren wrote:... I'm worried about PHP.net releasing newer PHP 4 version all over again and again.....
Re: PHP 4 or PHP 5 as a minimum requirement?
I'd rather not write code for 4 any more because I like some of the things in 5 too, I'm just saying they're not a requirement for writing good code.panic! wrote:Personally, I couldn't live without the features that php5 offers, but I am 5 years old and you are 90.
And I'm not 90. I resent that.
I'm only 80.
Re: PHP 4 or PHP 5 as a minimum requirement?
Only 80? A spring chicken! Maybe Victoria on the desk next door will marry you after all! 
Re: PHP 4 or PHP 5 as a minimum requirement?
Get in!panic! wrote:Maybe Victoria on the desk next door will marry you after all!