Tagged articles
1 articles
Page 1 of 1
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".

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