• @[email protected]
    link
    fedilink
    118 months ago

    5.3 was a big leap for PHP. It became actually very good at that point.

    I learned it when it was on 4 and boy oh boy was that something.

    But nowadays, with 8, it works great, tooling is fantastic. I just kinda wish the documentation, which is absolutely top notch for 90% of the language, was this good for the rest 10%.

    I want to play around with Fibers, but I just don’t get the info I want to.

    pthreads were so out of date in docs it was shameful.

    But the language is good, typing is coming along nicely, and basically the only thing I want PHP to do is to call Postgres and encode the output to json. Works like a charm.

    • @[email protected]
      link
      fedilink
      English
      4
      edit-2
      8 months ago

      Yeah i’ve heard good things about it recently. I’ve always liked how easy curl can be in php.

      Adding typing seems like it would fix most of the problems i did run into but

      Has PHP raised its standards on function naming? Or do you still have batshit situations like realEscapeString2() because the first 30 other functions for escaping strings are deprecated?