$str .= chr( 27); / * add an escape character at the end of $str * / / * Often this is more useful * / $str = sprintf("The string ends in escape: %c", 27);
?php $str .= chr( 27); / * Ajoute un caract egrave;re d 'eacute;chappement agrave; la fin de la cha icirc;ne $str * / / * Ceci est souvent plus pratique, fait r eacute;alise la m ecirc;me chose * / $str = sprintf("The string ends in escape: %c", 27);?