cvs: phpdoc-zh /reference/var/functions floatval.xml get-resource-type.xml gettype.xml intval.xml is-array.xml is-bool.xml is-float.xml is-int.xml
is-object.xml is-resource.xml is-scalar.xml is-string.xml
| From: | Krazy Nio | Date: | Tue, 20 May 2003 13:29:22 +0000 |
| Subject: | cvs: phpdoc-zh /reference/var/functions floatval.xml get-resource-type.xml gettype.xml intval.xml is-array.xml is-bool.xml is-float.xml is-int.xml is-object.xml is-resource.xml is-scalar.xml is-string.xml |
||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1482@lists.php.net to get a copy of this message | ||
nio Tue May 20 09:29:22 2003 EDT
Modified files:
/phpdoc-zh/reference/var/functions floatval.xml
get-resource-type.xml
gettype.xml intval.xml
is-array.xml is-bool.xml
is-float.xml is-int.xml
is-object.xml is-resource.xml
is-scalar.xml is-string.xml
Log:
Fix <type>...</type>.
Index: phpdoc-zh/reference/var/functions/floatval.xml diff -u phpdoc-zh/reference/var/functions/floatval.xml:1.1 phpdoc-zh/reference/var/functions/floatval.xml:1.2 --- phpdoc-zh/reference/var/functions/floatval.xml:1.1 Fri Apr 25 11:26:20 2003 +++ phpdoc-zh/reference/var/functions/floatval.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.66 --> @@ -16,7 +16,7 @@ </methodsynopsis> <simpara> ·µ»Ø±äÁ¿ <parameter>var</parameter> - µÄ<type>¸¡µãÐÍ</type>ÊýÖµ¡£ + µÄ <type>float</type> ÊýÖµ¡£ </simpara> <para> <parameter>var</parameter> ¿ÉÒÔÊÇÈκαêÁ¿ÀàÐÍ¡£Äã²»Äܽ« Index: phpdoc-zh/reference/var/functions/get-resource-type.xml diff -u phpdoc-zh/reference/var/functions/get-resource-type.xml:1.1 phpdoc-zh/reference/var/functions/get-resource-type.xml:1.2 --- phpdoc-zh/reference/var/functions/get-resource-type.xml:1.1 Fri May 2 08:34:05 2003 +++ phpdoc-zh/reference/var/functions/get-resource-type.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.75 --> @@ -17,7 +17,7 @@ <methodparam><type>resource</type><parameter>handle</parameter></methodparam> </methodsynopsis> <para> - ´Ëº¯Êý·µ»ØÒ»¸ö×Ö·û´®£¬ÓÃÓÚ±íʾ´«µÝ¸øËüµÄ<type>×ÊÔ´</type>µÄÀàÐÍ¡£Èç¹û²ÎÊý²»ÊǺϷ¨µÄ<type>×ÊÔ´</type>£¬½«²úÉú´íÎó¡£ + ´Ëº¯Êý·µ»ØÒ»¸ö×Ö·û´®£¬ÓÃÓÚ±íʾ´«µÝ¸øËüµÄ <type>resource</type> µÄÀàÐÍ¡£Èç¹û²ÎÊý²»ÊǺϷ¨µÄ <type>resource</type>£¬½«²úÉú´íÎó¡£ <informalexample> <programlisting role="php"> <![CDATA[ Index: phpdoc-zh/reference/var/functions/gettype.xml diff -u phpdoc-zh/reference/var/functions/gettype.xml:1.1 phpdoc-zh/reference/var/functions/gettype.xml:1.2 --- phpdoc-zh/reference/var/functions/gettype.xml:1.1 Fri May 2 09:00:27 2003 +++ phpdoc-zh/reference/var/functions/gettype.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -38,7 +38,7 @@ <simpara>¡°<type>integer</type>¡±</simpara> </listitem> <listitem> - <simpara>¡°<type>double</type>¡±£¨ÓÉÓÚÀúÊ·ÔÒò£¬Èç¹ûÊÇ<type>¸¡µãÐÍ</type>Ôò·µ»Ø¡°double¡±£¬¶ø²»ÊÇ¡°float¡±£©</simpara> + <simpara>¡°<type>double</type>¡±£¨ÓÉÓÚÀúÊ·ÔÒò£¬Èç¹ûÊÇ <type>float</type> Ôò·µ»Ø¡°double¡±£¬¶ø²»ÊÇ¡°float¡±£©</simpara> </listitem> <listitem> <simpara>¡°<type>string</type>¡±</simpara> Index: phpdoc-zh/reference/var/functions/intval.xml diff -u phpdoc-zh/reference/var/functions/intval.xml:1.1 phpdoc-zh/reference/var/functions/intval.xml:1.2 --- phpdoc-zh/reference/var/functions/intval.xml:1.1 Sun May 4 06:11:33 2003 +++ phpdoc-zh/reference/var/functions/intval.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -17,11 +17,11 @@ </methodsynopsis> <simpara> ͨ¹ýʹÓÃÌØ¶¨µÄ½øÖÆ×ª»»£¨Ä¬ÈÏÊÇÊ®½øÖÆ£©£¬·µ»Ø±äÁ¿ <parameter>var</parameter> - µÄ<type>ÕûÐÍ</type>ÊýÖµ¡£ + µÄ <type>integer</type> ÊýÖµ¡£ </simpara> <simpara> <parameter>var</parameter> ¿ÉÒÔÊÇÈκαêÁ¿ÀàÐÍ¡£<function>intval</function> - ²»ÄÜÓÃÓÚ<type>Êý×é</type>»ò<type>¶ÔÏó</type>¡£ + ²»ÄÜÓÃÓÚ <type>array</type> »ò <type>object</type>¡£ </simpara> <note> <para> Index: phpdoc-zh/reference/var/functions/is-array.xml diff -u phpdoc-zh/reference/var/functions/is-array.xml:1.1 phpdoc-zh/reference/var/functions/is-array.xml:1.2 --- phpdoc-zh/reference/var/functions/is-array.xml:1.1 Sun May 4 06:20:26 2003 +++ phpdoc-zh/reference/var/functions/is-array.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -16,7 +16,7 @@ </methodsynopsis> <para> Èç¹û <parameter>var</parameter> - ÊÇ<type>Êý×é</type>£¬Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + ÊÇ <type>array</type>£¬Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> ²Î¼û Index: phpdoc-zh/reference/var/functions/is-bool.xml diff -u phpdoc-zh/reference/var/functions/is-bool.xml:1.1 phpdoc-zh/reference/var/functions/is-bool.xml:1.2 --- phpdoc-zh/reference/var/functions/is-bool.xml:1.1 Sun May 4 06:22:54 2003 +++ phpdoc-zh/reference/var/functions/is-bool.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.4 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.19 --> @@ -18,7 +18,7 @@ </methodsynopsis> <para> Èç¹û <parameter>var</parameter> - ÊÇ<type>²¼¶ûÐÍ</type>Ôò·µ»Ø &true;¡£ + ÊÇ <type>boolean</type> Ôò·µ»Ø &true;¡£ </para> <para> <example> Index: phpdoc-zh/reference/var/functions/is-float.xml diff -u phpdoc-zh/reference/var/functions/is-float.xml:1.1 phpdoc-zh/reference/var/functions/is-float.xml:1.2 --- phpdoc-zh/reference/var/functions/is-float.xml:1.1 Sun May 18 05:43:43 2003 +++ phpdoc-zh/reference/var/functions/is-float.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <simpara> - Èç¹û <parameter>var</parameter> ÊÇ <type>¸¡µãÐÍ</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇ <type>float</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </simpara> <note> <para> Index: phpdoc-zh/reference/var/functions/is-int.xml diff -u phpdoc-zh/reference/var/functions/is-int.xml:1.1 phpdoc-zh/reference/var/functions/is-int.xml:1.2 --- phpdoc-zh/reference/var/functions/is-int.xml:1.1 Sun May 18 05:57:25 2003 +++ phpdoc-zh/reference/var/functions/is-int.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <simpara> - Èç¹û <parameter>var</parameter> ÊÇ<type>ÕûÐÍ</type>Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇ <type>integer</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </simpara> <note> <para> Index: phpdoc-zh/reference/var/functions/is-object.xml diff -u phpdoc-zh/reference/var/functions/is-object.xml:1.1 phpdoc-zh/reference/var/functions/is-object.xml:1.2 --- phpdoc-zh/reference/var/functions/is-object.xml:1.1 Sun May 18 06:08:46 2003 +++ phpdoc-zh/reference/var/functions/is-object.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <para> - Èç¹û <parameter>var</parameter> ÊÇÒ»¸ö<type>¶ÔÏó</type>Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇÒ»¸ö <type>object</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> ²Î¼û Index: phpdoc-zh/reference/var/functions/is-resource.xml diff -u phpdoc-zh/reference/var/functions/is-resource.xml:1.1 phpdoc-zh/reference/var/functions/is-resource.xml:1.2 --- phpdoc-zh/reference/var/functions/is-resource.xml:1.1 Sun May 18 06:13:52 2003 +++ phpdoc-zh/reference/var/functions/is-resource.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.19 --> @@ -17,11 +17,11 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <para> - Èç¹û¸ø³öµÄ²ÎÊý <parameter>var</parameter> ÊÇ<type>×ÊÔ´</type>ÀàÐÍ£¬<function>is_resource</function> + Èç¹û¸ø³öµÄ²ÎÊý <parameter>var</parameter> ÊÇ <type>resource</type> ÀàÐÍ£¬<function>is_resource</function> ·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> - ²é¿´<type>×ÊÔ´</type>ÀàÐÍÎĵµ»ñÈ¡¸ü¶àµÄÐÅÏ¢¡£ + ²é¿´ <type>resource</type> ÀàÐÍÎĵµ»ñÈ¡¸ü¶àµÄÐÅÏ¢¡£ </para> </refsect1> </refentry> Index: phpdoc-zh/reference/var/functions/is-scalar.xml diff -u phpdoc-zh/reference/var/functions/is-scalar.xml:1.1 phpdoc-zh/reference/var/functions/is-scalar.xml:1.2 --- phpdoc-zh/reference/var/functions/is-scalar.xml:1.1 Sun May 18 06:28:18 2003 +++ phpdoc-zh/reference/var/functions/is-scalar.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.35 --> @@ -21,7 +21,10 @@ ·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> - ±êÁ¿±äÁ¿ÊÇÖ¸ÄÇЩ°üº¬ÁË<type>ÕûÐÍ</type>¡¢<type>¸¡µãÐÍ</type>¡¢<type>×Ö·û´®</type>»ò<type>²¼¶ûÐÍ</type>µÄ±äÁ¿£¬¶ø<type>Êý×é</type>¡¢<type>¶ÔÏó</type>ºÍ<type>×ÊÔ´</type>Ôò²»ÊDZêÁ¿¡£ + ±êÁ¿±äÁ¿ÊÇÖ¸ÄÇЩ°üº¬ÁË + <type>integer</type>¡¢<type>float</type>¡¢<type>string</type> + »ò <type>boolean</type>µÄ±äÁ¿£¬¶ø + <type>array</type>¡¢<type>object</type> ºÍ <type>resource</type> Ôò²»ÊDZêÁ¿¡£ <informalexample> <programlisting role="php"> <!-- TODO: better example, this one can be quite misleading for unexperienced @@ -56,7 +59,8 @@ </para> <note> <para> - ¾¡¹Üµ±Ç°µÄ<type>×ÊÔ´</type>ÀàÐÍÊǾÓÓÚÕûÊýµÄ£¬µ« <function>is_scalar</function> ²»»á°ÑËüÃǵ±×÷ÊDZêÁ¿£¬ÒòΪ×ÊÔ´ÊdzéÏóÊý¾ÝÀàÐÍ¡£²»ÄÜÒÀÀµÓÚÖ´ÐÐϸ½Ú£¬ÒòΪËü¿ÉÄÜ»á¸Ä±ä¡£ + ¾¡¹Üµ±Ç°µÄ <type>resource</type> ÀàÐÍÊǾÓÓÚÕûÊýµÄ£¬µ« + <function>is_scalar</function> ²»»á°ÑËüÃǵ±×÷ÊDZêÁ¿£¬ÒòΪ×ÊÔ´ÊdzéÏóÊý¾ÝÀàÐÍ¡£²»ÄÜÒÀÀµÓÚÖ´ÐÐϸ½Ú£¬ÒòΪËü¿ÉÄÜ»á¸Ä±ä¡£ </para> </note> <para> Index: phpdoc-zh/reference/var/functions/is-string.xml diff -u phpdoc-zh/reference/var/functions/is-string.xml:1.1 phpdoc-zh/reference/var/functions/is-string.xml:1.2 --- phpdoc-zh/reference/var/functions/is-string.xml:1.1 Sun May 18 06:30:29 2003 +++ phpdoc-zh/reference/var/functions/is-string.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.3 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.19 --> @@ -15,16 +15,11 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <para> - Èç¹û <parameter>var</parameter> ÊÇ<type>×Ö·û´®</type>Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇ <type>string</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> ²Î¼û - <function>is_bool</function>¡¢ - <function>is_int</function>¡¢ - <function>is_integer</function>¡¢ - <function>is_float</function>¡¢ - <function>is_real</function>¡¢ - <function>is_object</function> + <function>is_bool</function>¡¢<function>is_int</function>¡¢<function>is_integer</function>¡¢<function>is_float</function>¡¢<function>is_real</function>¡¢<function>is_object</function> ºÍ <function>is_array</function>¡£ </para> </refsect1>
Index: phpdoc-zh/reference/var/functions/floatval.xml diff -u phpdoc-zh/reference/var/functions/floatval.xml:1.1 phpdoc-zh/reference/var/functions/floatval.xml:1.2 --- phpdoc-zh/reference/var/functions/floatval.xml:1.1 Fri Apr 25 11:26:20 2003 +++ phpdoc-zh/reference/var/functions/floatval.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.66 --> @@ -16,7 +16,7 @@ </methodsynopsis> <simpara> ·µ»Ø±äÁ¿ <parameter>var</parameter> - µÄ<type>¸¡µãÐÍ</type>ÊýÖµ¡£ + µÄ <type>float</type> ÊýÖµ¡£ </simpara> <para> <parameter>var</parameter> ¿ÉÒÔÊÇÈκαêÁ¿ÀàÐÍ¡£Äã²»Äܽ« Index: phpdoc-zh/reference/var/functions/get-resource-type.xml diff -u phpdoc-zh/reference/var/functions/get-resource-type.xml:1.1 phpdoc-zh/reference/var/functions/get-resource-type.xml:1.2 --- phpdoc-zh/reference/var/functions/get-resource-type.xml:1.1 Fri May 2 08:34:05 2003 +++ phpdoc-zh/reference/var/functions/get-resource-type.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.75 --> @@ -17,7 +17,7 @@ <methodparam><type>resource</type><parameter>handle</parameter></methodparam> </methodsynopsis> <para> - ´Ëº¯Êý·µ»ØÒ»¸ö×Ö·û´®£¬ÓÃÓÚ±íʾ´«µÝ¸øËüµÄ<type>×ÊÔ´</type>µÄÀàÐÍ¡£Èç¹û²ÎÊý²»ÊǺϷ¨µÄ<type>×ÊÔ´</type>£¬½«²úÉú´íÎó¡£ + ´Ëº¯Êý·µ»ØÒ»¸ö×Ö·û´®£¬ÓÃÓÚ±íʾ´«µÝ¸øËüµÄ <type>resource</type> µÄÀàÐÍ¡£Èç¹û²ÎÊý²»ÊǺϷ¨µÄ <type>resource</type>£¬½«²úÉú´íÎó¡£ <informalexample> <programlisting role="php"> <![CDATA[ Index: phpdoc-zh/reference/var/functions/gettype.xml diff -u phpdoc-zh/reference/var/functions/gettype.xml:1.1 phpdoc-zh/reference/var/functions/gettype.xml:1.2 --- phpdoc-zh/reference/var/functions/gettype.xml:1.1 Fri May 2 09:00:27 2003 +++ phpdoc-zh/reference/var/functions/gettype.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -38,7 +38,7 @@ <simpara>¡°<type>integer</type>¡±</simpara> </listitem> <listitem> - <simpara>¡°<type>double</type>¡±£¨ÓÉÓÚÀúÊ·ÔÒò£¬Èç¹ûÊÇ<type>¸¡µãÐÍ</type>Ôò·µ»Ø¡°double¡±£¬¶ø²»ÊÇ¡°float¡±£©</simpara> + <simpara>¡°<type>double</type>¡±£¨ÓÉÓÚÀúÊ·ÔÒò£¬Èç¹ûÊÇ <type>float</type> Ôò·µ»Ø¡°double¡±£¬¶ø²»ÊÇ¡°float¡±£©</simpara> </listitem> <listitem> <simpara>¡°<type>string</type>¡±</simpara> Index: phpdoc-zh/reference/var/functions/intval.xml diff -u phpdoc-zh/reference/var/functions/intval.xml:1.1 phpdoc-zh/reference/var/functions/intval.xml:1.2 --- phpdoc-zh/reference/var/functions/intval.xml:1.1 Sun May 4 06:11:33 2003 +++ phpdoc-zh/reference/var/functions/intval.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -17,11 +17,11 @@ </methodsynopsis> <simpara> ͨ¹ýʹÓÃÌØ¶¨µÄ½øÖÆ×ª»»£¨Ä¬ÈÏÊÇÊ®½øÖÆ£©£¬·µ»Ø±äÁ¿ <parameter>var</parameter> - µÄ<type>ÕûÐÍ</type>ÊýÖµ¡£ + µÄ <type>integer</type> ÊýÖµ¡£ </simpara> <simpara> <parameter>var</parameter> ¿ÉÒÔÊÇÈκαêÁ¿ÀàÐÍ¡£<function>intval</function> - ²»ÄÜÓÃÓÚ<type>Êý×é</type>»ò<type>¶ÔÏó</type>¡£ + ²»ÄÜÓÃÓÚ <type>array</type> »ò <type>object</type>¡£ </simpara> <note> <para> Index: phpdoc-zh/reference/var/functions/is-array.xml diff -u phpdoc-zh/reference/var/functions/is-array.xml:1.1 phpdoc-zh/reference/var/functions/is-array.xml:1.2 --- phpdoc-zh/reference/var/functions/is-array.xml:1.1 Sun May 4 06:20:26 2003 +++ phpdoc-zh/reference/var/functions/is-array.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -16,7 +16,7 @@ </methodsynopsis> <para> Èç¹û <parameter>var</parameter> - ÊÇ<type>Êý×é</type>£¬Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + ÊÇ <type>array</type>£¬Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> ²Î¼û Index: phpdoc-zh/reference/var/functions/is-bool.xml diff -u phpdoc-zh/reference/var/functions/is-bool.xml:1.1 phpdoc-zh/reference/var/functions/is-bool.xml:1.2 --- phpdoc-zh/reference/var/functions/is-bool.xml:1.1 Sun May 4 06:22:54 2003 +++ phpdoc-zh/reference/var/functions/is-bool.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.4 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.19 --> @@ -18,7 +18,7 @@ </methodsynopsis> <para> Èç¹û <parameter>var</parameter> - ÊÇ<type>²¼¶ûÐÍ</type>Ôò·µ»Ø &true;¡£ + ÊÇ <type>boolean</type> Ôò·µ»Ø &true;¡£ </para> <para> <example> Index: phpdoc-zh/reference/var/functions/is-float.xml diff -u phpdoc-zh/reference/var/functions/is-float.xml:1.1 phpdoc-zh/reference/var/functions/is-float.xml:1.2 --- phpdoc-zh/reference/var/functions/is-float.xml:1.1 Sun May 18 05:43:43 2003 +++ phpdoc-zh/reference/var/functions/is-float.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <simpara> - Èç¹û <parameter>var</parameter> ÊÇ <type>¸¡µãÐÍ</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇ <type>float</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </simpara> <note> <para> Index: phpdoc-zh/reference/var/functions/is-int.xml diff -u phpdoc-zh/reference/var/functions/is-int.xml:1.1 phpdoc-zh/reference/var/functions/is-int.xml:1.2 --- phpdoc-zh/reference/var/functions/is-int.xml:1.1 Sun May 18 05:57:25 2003 +++ phpdoc-zh/reference/var/functions/is-int.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <simpara> - Èç¹û <parameter>var</parameter> ÊÇ<type>ÕûÐÍ</type>Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇ <type>integer</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </simpara> <note> <para> Index: phpdoc-zh/reference/var/functions/is-object.xml diff -u phpdoc-zh/reference/var/functions/is-object.xml:1.1 phpdoc-zh/reference/var/functions/is-object.xml:1.2 --- phpdoc-zh/reference/var/functions/is-object.xml:1.1 Sun May 18 06:08:46 2003 +++ phpdoc-zh/reference/var/functions/is-object.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <para> - Èç¹û <parameter>var</parameter> ÊÇÒ»¸ö<type>¶ÔÏó</type>Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇÒ»¸ö <type>object</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> ²Î¼û Index: phpdoc-zh/reference/var/functions/is-resource.xml diff -u phpdoc-zh/reference/var/functions/is-resource.xml:1.1 phpdoc-zh/reference/var/functions/is-resource.xml:1.2 --- phpdoc-zh/reference/var/functions/is-resource.xml:1.1 Sun May 18 06:13:52 2003 +++ phpdoc-zh/reference/var/functions/is-resource.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.19 --> @@ -17,11 +17,11 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <para> - Èç¹û¸ø³öµÄ²ÎÊý <parameter>var</parameter> ÊÇ<type>×ÊÔ´</type>ÀàÐÍ£¬<function>is_resource</function> + Èç¹û¸ø³öµÄ²ÎÊý <parameter>var</parameter> ÊÇ <type>resource</type> ÀàÐÍ£¬<function>is_resource</function> ·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> - ²é¿´<type>×ÊÔ´</type>ÀàÐÍÎĵµ»ñÈ¡¸ü¶àµÄÐÅÏ¢¡£ + ²é¿´ <type>resource</type> ÀàÐÍÎĵµ»ñÈ¡¸ü¶àµÄÐÅÏ¢¡£ </para> </refsect1> </refentry> Index: phpdoc-zh/reference/var/functions/is-scalar.xml diff -u phpdoc-zh/reference/var/functions/is-scalar.xml:1.1 phpdoc-zh/reference/var/functions/is-scalar.xml:1.2 --- phpdoc-zh/reference/var/functions/is-scalar.xml:1.1 Sun May 18 06:28:18 2003 +++ phpdoc-zh/reference/var/functions/is-scalar.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.2 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.35 --> @@ -21,7 +21,10 @@ ·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> - ±êÁ¿±äÁ¿ÊÇÖ¸ÄÇЩ°üº¬ÁË<type>ÕûÐÍ</type>¡¢<type>¸¡µãÐÍ</type>¡¢<type>×Ö·û´®</type>»ò<type>²¼¶ûÐÍ</type>µÄ±äÁ¿£¬¶ø<type>Êý×é</type>¡¢<type>¶ÔÏó</type>ºÍ<type>×ÊÔ´</type>Ôò²»ÊDZêÁ¿¡£ + ±êÁ¿±äÁ¿ÊÇÖ¸ÄÇЩ°üº¬ÁË + <type>integer</type>¡¢<type>float</type>¡¢<type>string</type> + »ò <type>boolean</type>µÄ±äÁ¿£¬¶ø + <type>array</type>¡¢<type>object</type> ºÍ <type>resource</type> Ôò²»ÊDZêÁ¿¡£ <informalexample> <programlisting role="php"> <!-- TODO: better example, this one can be quite misleading for unexperienced @@ -56,7 +59,8 @@ </para> <note> <para> - ¾¡¹Üµ±Ç°µÄ<type>×ÊÔ´</type>ÀàÐÍÊǾÓÓÚÕûÊýµÄ£¬µ« <function>is_scalar</function> ²»»á°ÑËüÃǵ±×÷ÊDZêÁ¿£¬ÒòΪ×ÊÔ´ÊdzéÏóÊý¾ÝÀàÐÍ¡£²»ÄÜÒÀÀµÓÚÖ´ÐÐϸ½Ú£¬ÒòΪËü¿ÉÄÜ»á¸Ä±ä¡£ + ¾¡¹Üµ±Ç°µÄ <type>resource</type> ÀàÐÍÊǾÓÓÚÕûÊýµÄ£¬µ« + <function>is_scalar</function> ²»»á°ÑËüÃǵ±×÷ÊDZêÁ¿£¬ÒòΪ×ÊÔ´ÊdzéÏóÊý¾ÝÀàÐÍ¡£²»ÄÜÒÀÀµÓÚÖ´ÐÐϸ½Ú£¬ÒòΪËü¿ÉÄÜ»á¸Ä±ä¡£ </para> </note> <para> Index: phpdoc-zh/reference/var/functions/is-string.xml diff -u phpdoc-zh/reference/var/functions/is-string.xml:1.1 phpdoc-zh/reference/var/functions/is-string.xml:1.2 --- phpdoc-zh/reference/var/functions/is-string.xml:1.1 Sun May 18 06:30:29 2003 +++ phpdoc-zh/reference/var/functions/is-string.xml Tue May 20 09:29:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> <!-- EN-Revision: 1.3 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.19 --> @@ -15,16 +15,11 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <para> - Èç¹û <parameter>var</parameter> ÊÇ<type>×Ö·û´®</type>Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ + Èç¹û <parameter>var</parameter> ÊÇ <type>string</type> Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ </para> <para> ²Î¼û - <function>is_bool</function>¡¢ - <function>is_int</function>¡¢ - <function>is_integer</function>¡¢ - <function>is_float</function>¡¢ - <function>is_real</function>¡¢ - <function>is_object</function> + <function>is_bool</function>¡¢<function>is_int</function>¡¢<function>is_integer</function>¡¢<function>is_float</function>¡¢<function>is_real</function>¡¢<function>is_object</function> ºÍ <function>is_array</function>¡£ </para> </refsect1>