btrotter wrote:I don't understand why people are deploying products dependent on the absolute bleeding edge- I've run into clients whose hosts still don't have PHP 5.0 at all. I'm writing code now with 5.2.x in mind, but I still run into and expect problems with some clients' hosting environments. I can only apply so much pressure to convince them to change their infrastructure without losing them as a client. When targeting a particular version of PHP you really have to keep in mind the entire software stack- if you depend on Zend Guard/Optimizer supporting something, then don't target versions it doesn't support until the stack is ready. Stack aside, consider your possible clients and remember there -are- PHP 4 only hosts still out there that clients are stuck with- this doesn't mean only code for PHP4- but it just means keep in mind, while you as a programmer may like some of the things 5.3 has to offer, it's going to take a year or two for hosts to adopt it unless there's a major security issue. Even Godaddy is still running something like 5.2.8.
No, if you will keep developing for PHP 4, they will have no reason to upgrade. It's like coding for IE6, no point to do that anymore.

