Unofficial Hacker News companion — get notified on comment replies, and more.

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan (opens external site)

285 points by xadz 3 days ago | adamgreenough.net | 133 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (5)

  1. The tone isn't right. You should say "PHP refuses to support >50% WordPress sites". That PHP's problem, not users'.
    Replies (2)
    1. It’s incumbent upon the users to take responsibility for their systems.
    2. This take is mostly absurd, although I do agree PHP's and Python's insistence on making breaking changes in every yearly release is a bad practice.
      Replies (2)
      1. It's completely unserious for programming language.

        Even Perl got it better, you just specify version of language in the file and interpreter runs it as if it was code written for that version. And it didn't need to break all user's code to add UTF8 support like python

      2. PHP mostly doesn’t make breaking changing, usually there’s multiple major versions before a breaking change. Typically, you get a deprecation notice, then warning, and then it breaks. Like… 5 years later.

        Yes obviously some functions that worked in PHP 5.4 don’t work in PHP 8. It’s been over a decade. And the deprecations are usually for very good reasons. Security concerns, unexpected behavior, etc.