• Phoenixz
    link
    fedilink
    arrow-up
    1
    ·
    20 hours ago

    PHP uses . which works perfectly fine, I’ve never encountered this nonsense before

    • dual_sport_dork 🐧🗡️@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 hours ago

      Yes, and PHP can even implicitly (or explicitly!) cast variables between different types. Dot (.) is for strings and + is for math. It’s one of the few things about PHP that makes sense.