1
0
mirror of https://github.com/php/doc-de.git synced 2026-04-26 08:28:03 +02:00
Files
archived-doc-de/reference/strings/functions/ord.xml
T
Carola 'Sammy' Kummert 78ee409568 updated to current english version
git-svn-id: https://svn.php.net/repository/phpdoc/de/trunk@212496 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-05 12:37:18 +00:00

63 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready -->
<!-- splitted from ./de/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.ord">
<refnamediv>
<refname>ord</refname>
<refpurpose>Gibt den ASCII-Wert eines Zeichens zurück</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>ord</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
</methodsynopsis>
<para>
Gibt den ASCII-Wert des ersten Zeichens von <parameter>string</parameter>
zurück. Die Funktion ist das Gegenstück zu <function>chr</function>.
<example>
<title><function>ord</function> Beispiel</title>
<programlisting role="php">
<![CDATA[
<?php
$str = "\n";
if (ord($str) == 10) {
echo "Das erste Zeichen von \$str ist ein Zeilenvorschub.\n";
}
?>
]]>
</programlisting>
</example>
</para>
<para>
Eine Tabelle der ASCII-Zeichen finden Sie hier:
<ulink url="&url.asciitable;">&url.asciitable;</ulink>.
</para>
<simpara>
See also <function>chr</function>.
</simpara>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->