mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add reference to an ASCII-table
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@54467 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7de99daa66
commit
a3ef35fbdb
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.103 $ -->
|
||||
<!-- $Revision: 1.104 $ -->
|
||||
<reference id="ref.strings">
|
||||
<title>String functions</title>
|
||||
<titleabbrev>Strings</titleabbrev>
|
||||
|
@ -196,6 +196,12 @@ $str .= chr(27); /* add an escape character at the end of $str */
|
|||
$str = sprintf("The string ends in escape: %c", 27);
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
You can find an ASCII-table over here: <ulink url="&url.asciitable;"
|
||||
>&url.asciitable;</ulink>.
|
||||
</para>
|
||||
<para>
|
||||
This function complements <function>ord</function>. See also
|
||||
<function>sprintf</function> with a format string of
|
||||
<literal>%c</literal>.
|
||||
|
@ -1532,6 +1538,10 @@ if (ord($str) == 10) {
|
|||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
You can find an ASCII-table over here: <ulink url="&url.asciitable;"
|
||||
>&url.asciitable;</ulink>.
|
||||
</para>
|
||||
<simpara>
|
||||
See also <function>chr</function>.
|
||||
</simpara>
|
||||
|
|
Loading…
Reference in a new issue