I saw may programmers using HEXADECIMAL number to describe value and I was wonder what is the BENEFIT of using HEXADECIMAL instead of regular decimal number.
For example :
<?php
fread( $myFile, 0x594 );
//vs
fread( $myFile, "1428" );
?>
And more importantly,
How do I get to that hexadecimal value ?
I was trying echo hexdec (1428);
and I'm receiving 5160
and not 0x594
.
What am I doing wrong here ?