📌 Use hex2bin() when:
✅ Converting hexadecimal strings back to binary format
✅ Decoding binary-encoded database values
✅ Handling cryptographic functions
✅ Working with binary file data
⚠️ Remember:
❌ Input must have an even number of hex characters
❌ If invalid, hex2bin() returns false