正在加载视频...
视频加载失败
PHP is more insane than JavaScript
167,333 次观看 • 3 年前 •via X (Twitter)
10 条评论

Coral AI is the most powerful AI for documents. See the difference yourself:

i dont justify php but there is a reason

Wait! Folder of what?

I just came to leave this here 🙈

Oh yeah! I completely missed this fact! Thank you! But that is still besides my point

Tsoding: "Even JavaScript doesn't do 💩 like that..." Me: 💀 😂

It is bizarre exactly once, after which you understand it and start using strict comparison. Same goes with javascript quirks, and basically any other language strangenesses and language design imperfections. How about million similar stupid situations in C++ for example?

use === all the time

my favorite part is that every hash starting with 0e will evaluate to 0 and every hash starting with 1e will evaluate to 1 your hashing algorithm suddenly has a lot more collisions than it used to!

that’s quite an achievement to come up with a worse comparison operator than JavaScript
