Tag

hexdec

1 views collected around this technical thread.

Laravel Tech Community
Laravel Tech Community
Jan 26, 2021 · Backend Development

hexdec() – Convert Hexadecimal Strings to Decimal in PHP

hexdec() is a PHP built‑in function that converts a hexadecimal string to its decimal value, ignoring any non‑hex characters, and returns the corresponding integer; the article explains its syntax, parameters, return value, and provides example code demonstrating conversions such as "See" and "a0".

Backendconversionhexadecimal
0 likes · 2 min read
hexdec() – Convert Hexadecimal Strings to Decimal in PHP