cvs: phpdoc-de /reference/info/functions phpversion.xml
| From: | ali | Date: | Sun, 16 Nov 2003 11:33:47 +0000 |
| Subject: | cvs: phpdoc-de /reference/info/functions phpversion.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-998@lists.php.net to get a copy of this message | ||
ali Sun Nov 16 06:33:47 2003 EDT
Modified files:
/phpdoc-de/reference/info/functions phpversion.xml
Log:
- sync to EN-1.3
- fixes #26272
Index: phpdoc-de/reference/info/functions/phpversion.xml
diff -u phpdoc-de/reference/info/functions/phpversion.xml:1.2
phpdoc-de/reference/info/functions/phpversion.xml:1.3
--- phpdoc-de/reference/info/functions/phpversion.xml:1.2 Sun Jun 9 06:55:45 2002
+++ phpdoc-de/reference/info/functions/phpversion.xml Sun Nov 16 06:33:47 2003
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./de/functions/info.xml, last change in rev 1.19 -->
<!-- last change to 'phpversion' in en/ tree in rev 1.2 -->
<refentry id="function.phpversion">
<refnamediv>
<refname>phpversion</refname>
<refpurpose>
- Zeigt die aktuell installierte PHP-Version
+ Fragt die installierte PHP-Version ab
</refpurpose>
</refnamediv>
<refsect1>
@@ -16,18 +16,35 @@
<void/>
</methodsynopsis>
<para>
- Zeigt die Version des installierten PHP-Parsers.
- <example role="php">
+ Gibt einen String zurück, der die Version des installierten PHP-Parsers enthält.
+ </para>
+ <note>
+ <para>
+ Diese Information ist auch in der vordefinierten Konstanten
+ <constant>PHP_VERSION</constant> enthalten.
+ </para>
+ </note>
+ <para>
+ <example>
<title><function>phpversion</function> Beispiel</title>
- <programlisting>
-// Gibt z.B. 'Aktuelle PHP Version: 3.0rel-dev' aus
-echo "Aktuelle PHP Version: ".phpversion();
+ <programlisting role="php">
+<![CDATA[
+<?php
+// Gibt z.B. 'Aktuelle PHP-Version: 4.1.1' aus
+echo 'Aktuelle PHP-Version: ' . phpversion();
+?>
+]]>
</programlisting>
</example>
</para>
- <para>
- Siehe auch <function>phpinfo</function>.
- </para>
+ <para>
+ Siehe auch
+ <function>version_compare</function>,
+ <function>phpinfo</function>,
+ <function>phpcredits</function>,
+ <function>php_logo_guid</function>, und
+ <function>zend_version</function>.
+ </para>
</refsect1>
</refentry>