PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php // Assumes the string will be used as ASCII or an ASCII-compatible encoding $str = "The string ends in escape: "; $str .= chr(27); /* add an escape character at the end of $str */ /* Often this is more useful */ $str = printf("The string ends in escape: %c", 27); ?>
Show:  
Copy Clear