bastian_5@sh.itjust.workstoProgrammer Humor@lemmy.ml•and people wonder why we say PHP is a meme
02·
1 year agoI say that php breaks math entirely, and is therefore bad. “” == null returns true null == [] returns true “” == [] returns false.
In more recent versions it gets worse, because it has 0 == “any text” return true, “any text” == true return true, and 1 == true return true So indirectly 1 = 0, and now math is more directly broken.
Obviously Gandalf the Grey and Gandalf the White and Monty Python and the Holy Grail Black Knight and Benito Mussolini and the Blue Meanie and Cowboy Curtis and Jambi the Genie, Robocop, The Terminator, Captain Kirk, and Darth Vader, Lo Pan, Superman, every single Power Ranger, Bill S. Preston and Theodore Logan, Spock, The Rock, Doc Ock, and Hulk Hogan are outside