"23" is a decimal number. "0x23" is a hexidecimal representation of the decimal number "35".
- Code: Select all
echo "23: " . 23 . "<br/>";
echo "0x23: " . 0x23 . "<br/>";
These number also have corresponding UTF-8 characters. The "23" character is described as the End Transmission Block (ETB) character, which is "invisible" if you try to print it on screen. The "0x23" character, or "35" character, is the pound sign (#).
- Code: Select all
echo "Character 23: <br/>";
echo "Character x23: # or # <br/>";
I hope that helps. Good luck!