Source.

Yep, PHP is turning 30 this year! Wondering if “PHP is still relevant?” Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway… happy birthday!

  • @BlameTheAntifa@lemmy.world
    link
    fedilink
    808 days ago

    In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.

    • @mriswith@lemmy.world
      link
      fedilink
      English
      19
      edit-2
      8 days ago

      Most memes or jokes referencing a direct problem in PHP, are old or made by people who haven’t touched the language in a decade(version 7 was in 2015, and it removed/fixed a lot of issues and added needed features).

      There’s also the huge looming thing that a lot of programmers forget: Websites like Wikipedia run on PHP, not to mention the amount of WordPress and similar websites are out there. Which means it will keep going strong. And for a while Facebook also used quite a lot of it, to the point where they made a rudimentary compiler instead of rewriting parts in more efficient languanges.

      • @Scrollone@feddit.it
        link
        fedilink
        48 days ago

        Also, most of the websites are made with WordPress, which… take a guess, yes, it runs on PHP!

        (even though WordPress is a bad example because it’s written in a horrible and ancient way)

    • Lovable Sidekick
      link
      fedilink
      English
      98 days ago

      I agree. A lot of people who mock PHP know almost nothing about it but they know they’re supposed to hate it because all the cool kids do.

      • Krudler
        link
        fedilink
        English
        14 days ago

        “What’s the best tool”

        “LINUX!!!”

        “Weird because I haven’t told you what I’m trying to build yet”

      • SkaveRat
        link
        fedilink
        48 days ago

        I’m still confused why laravel is more popular. Symfony is so much nicer to use and maintain

    • @SavinDWhales@lemmy.world
      link
      fedilink
      47 days ago

      PHP 8.4 is pretty good, TBH. You absolutely CAN write great code with modern PHP. … Shame that most PHP I touch is legacy code that’s at MOST PHP 7.4 - which is EOL since November '22 and has to be upgraded or replaced. 😬

    • @marcos@lemmy.world
      link
      fedilink
      -18 days ago

      Yeah, if you add tons of extra rules and tools, it can become almost as pleasant as the main Python or Ruby experience.

      Almost.