TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Make your PHP 5.4+ codebase compatible with PHP 5.3

4 pointsby endelover 10 years ago

2 comments

voidrover 10 years ago
&gt; Use it when you have a PHP 5.4+ codebase and just can&#x27;t upgrade your client&#x27;s infrastructure.<p>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].<p>[1] <a href="http://en.wikipedia.org/wiki/PHP#Release_history" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;PHP#Release_history</a>
评论 #8816203 未加载
oliwarnerover 10 years ago
5.3 is dead. Acknowledge that, upgrade and move on.<p>The very last thing you should be doing is pandering to infrastructure that &quot;cannot be upgraded&quot;. That&#x27;s BS. Even if you have legacy systems, there&#x27;s nothing stopping you having another instance of PHP or even another server running current software.<p>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.