Skip Navigation
Joe Pasquale impaled in freak moose antler incident in Skegness
  • He's carting these huge fucking antlers around on a national tour just for the lamest of lame puns. He must have workshopped this "gag" and miraculously not died on his arse, for him to decide it's worth hauling the antlers around. Baffling.

  • Rishi Sunak told NHS crisis is 'your fault' in on-air clash with junior doctor
  • Lie after lie.
    Striking workers are to blame for waiting lists (they were long way before striking!).
    Eliminating 2 year waits (my son is on a 4 year waiting list).
    Record funding (yeah, thanks for the inflation 👍).

  • and people wonder why we say PHP is a meme
  • I just tested these out out of curiosity.
    0=="text" returns false in PHP 8.2 as I'd expect.

    The others make sense in the way that php juggles between types. An empty variable can type-juggle to null, but an array can't be directly compared with a string.

    (Although you wouldn't really want to compare an array with a string, PHP just treats an array as greater than other variables. So weirdly, ([] > "") == true.)

  • and people wonder why we say PHP is a meme
  • If you're trying to directly compare different variable types in any language without strong typing, you're going to have edge-case results which you might not expect.

    My "coding like a moron" message still stands. PHP isn't a strongly typed language and it doesn't tell you off for trying stupid stuff like comparing a string with an int. Nor do other languages like JavaScript.

  • Tories 'could be reduced to less than 100 seats for first time in 345 years'
  • The Labour members were in favour of electoral reform but the Labour leadership won't back it unfortunately, especially not whilst they're staring down the barrel of a majority government.

    Blair almost backed electoral reform until he got a stonking majority.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TH
    thatwill @lemmy.world
    Posts 2
    Comments 12