Reputation: 4918
As it depends on if the host support PHP 5.3, I wonder if all or enough many hosting company has upgraded their php environment to 5.3.
Do you already use these new functions in your project?
Upvotes: 0
Views: 103
Reputation: 146500
I maintain software that needs to run on PHP/5.1.6 because that's what the customer's Linux dedicated server has and I maintain software that runs on PHP/5.3.5 because that's what I installed in their in-house Windows server. That's why, before starting coding a new project, I always find out some basic environment specs.
As for development, I prefer to keep up-to-date with the PHP interpreter and reasonably conservative with my code (currently, 5.2.0+ if possible).
Upvotes: 2
Reputation: 773
I wonder if all or enough many hosting company has upgraded their php environment to 5.3
It really shouldn't matter how many hosts have upgraded to 5.3, so long as the host you choose has upgraded to 5.3 then you'll be fine.
Upvotes: 4
Reputation: 30741
It depends. If you are writing a script for yourself, then all that maters is that your server supports these features. If you are writing for others to use on unknown servers, then it might be an idea to make it very clear the scripts requirements or find work arounds.
Upvotes: 1