Hacker News new | ask | show | jobs
Make your PHP 5.4+ codebase compatible with PHP 5.3 (github.com)
4 points by endel 4192 days ago
2 comments

> Use it when you have a PHP 5.4+ codebase and just can't upgrade your client's infrastructure.

I personally would just avoid those kinds of clients, PHP 5.4 was released on 1 March 2012 and PHP 5.3 is only supported until 14 August 2014[1].

[1] http://en.wikipedia.org/wiki/PHP#Release_history

Unfortunatelly the version 5.3 is used by 45.9% of all the websites who use PHP version 5.

Source: http://w3techs.com/technologies/details/pl-php/5/all

5.3 is dead. Acknowledge that, upgrade and move on.

The very last thing you should be doing is pandering to infrastructure that "cannot be upgraded". That's BS. Even if you have legacy systems, there's nothing stopping you having another instance of PHP or even another server running current software.

Infrastructure management is very much a part of modern web development. If you want to deploy stuff, be ready to educate your clients every so often.