• 3 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle



  • I don’t drive but I don’t rely on public transport any more - I mostly cycle or walk to where I need to get to.
    I live in a suburb of a large-ish town but I have most basic amenities within a 10 minute walk - a large supermarket, schools, parks, pharmacy, smaller grocery shops (corner shops), cafe, hairdressers etc.
    That’s fairly common in the UK unless you live in a small town or village.

    The bus services only go into the town centre and the service is spotty, so usually it’s slower if you need to get to another suburb at a particular time.

    My partner does drive however and as someone else said, it’d be hard to get out and about with kids without a car.



  • 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.)