cvs: phpdoc-zh /reference/math/functions tan.xml
| From: | Xiao shengwen | Date: | Wed, 03 Dec 2003 03:23:14 +0000 |
| Subject: | cvs: phpdoc-zh /reference/math/functions tan.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1787@lists.php.net to get a copy of this message | ||
yincheng Tue Dec 2 22:23:14 2003 EDT
Modified files:
/phpdoc-zh/reference/math/functions tan.xml
Log:
up to en
Index: phpdoc-zh/reference/math/functions/tan.xml
diff -u phpdoc-zh/reference/math/functions/tan.xml:1.4
phpdoc-zh/reference/math/functions/tan.xml:1.5
--- phpdoc-zh/reference/math/functions/tan.xml:1.4 Sun Mar 9 04:37:35 2003
+++ phpdoc-zh/reference/math/functions/tan.xml Tue Dec 2 22:23:14 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Author: dallas $ -->
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready -->
+<!-- $Author: yincheng $ -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.4 Maintainer: yincheng Status: ready -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.57 -->
<refentry id="function.tan">
<refnamediv>
@@ -19,6 +19,20 @@
<parameter>arg</parameter> µÄµ¥Î»Îª»¡¶È¡£
</para>
<para>
+ <example>
+ <title><function>tan</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+echo tan(M_PI_2); // 1
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
²Î¼û
<function>atan</function>£¬<function>sin</function>£¬<function>cos</function>
ºÍ <function>deg2rad</function>¡£
</para>