Logo
The @ symbol was chosen for email in 1971.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Type juggling Memes

Posts tagged with Type juggling

PHP's Accidental Hash Collision Feature

php Programming Debugging Security
2 months ago 157.0K views 0 shares
PHP's Accidental Hash Collision Feature
Behold, PHP's infamous type juggling strikes again! The meme shows how md5('240610708') == md5('QNKCDZO') evaluates to true despite being completely different strings. What's happening? Both MD5 hashes begin with '0e' followed by digits, which PHP helpfully interprets as scientific notation (0×10^something). And since 0 raised to any power equals 0, PHP thinks both hashes equal zero. It's basically comparing 0==0. This is why strict comparison ( === ) exists in PHP. Without it, you might accidentally authenticate someone with the wrong password! Security nightmare fuel for any developer who values their sanity.

Spotlight

Portable Power Station

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Ad The Signal Rescuer

For when your router is as unreliable as untested code
TP-Link WiFi Extender | ProgrammerHumor.io
We're investigating why the database is slow only on Mondays thanks to your support. 🐌