Mega Code Archive

 
Categories / Php / Data Type
 

To specify a number in hexadecimal, precede it with 0x

//To assign the number 68, you would use this:     $hexnum = 0x44;     print $hexnum;