\x
means that it is hex-encoded. \x7F
is the non-printable DEL character. Many of the characters in the [\x7f-\xff]
range are non-printable, or are modifiers that are used with other characters to modify what they look like.
You can use this page to find the characters (in the The extended ASCII codes table, HEX column).
For example, you can use \x8C
(the Œ character), like this:
function Œ() {
return "Œ is a ligature of OE!";
}
echo Œ();
You should refrain from using these characters in your code because you cannot easily type them using most keyboards, and because most of them are non-printable (i.e. they do not appear on the screen as characters, or if they do they often appear as some "unknown" character: ?, � or □).