Mega Code Archive

 
Categories / Php / Strings
 

Using Escaped Characters

<?php     /* The same properly formatted string*/     $variable = "Do you know what \"escaped\" characters are?";     /* Prints the 'a' character using hexadecimal */     $variable = "\x41 is the 'a' character"; ?>