Re: phpdoc-zh /reference/var/functions is-string.xml
| From: | Dallas Thunder | Date: | Tue, 20 May 2003 13:26:27 +0000 |
| Subject: | Re: phpdoc-zh /reference/var/functions is-string.xml | ||
| References: | 1 2 3 | Groups: | php.doc.zh |
| Request: | Send a blank email to doc-zh+get-1481@lists.php.net to get a copy of this message | ||
要加空格。
编译以后 <type>
的内容还是英文。对于变量类型来说,还是保留为英文比较好。
"Krazy Nio" <nio@k12studio.com> wrote in message
news:20030520061252.76122.qmail@pb1.pair.com...
> 明白,马上改过来。
>
> 但有个问题,<type>...</type>两边需要加空格吗?我现在没有加,因为编译之后
> <type>里边的内容应该会变成中文的吧。。。
>
> Dallas Thunder wrote:
> > <type> 标记中的内容应该保持原样。因为编译时系统会自动根据
> > <type>
> >
> > 的内容加上一个到相应类型的连接。如果将其翻译成中文就失去了此效果,
> > 而且内容表达上也没有原来那么精确。
> >
> > "Krazy Nio" <nio@php.net> wrote in message
> > news:cvsnio1053253829@cvsserver...
> >
> >>nio Sun May 18 06:30:29 2003 EDT
> >>
> >> Added files:
> >> /phpdoc-zh/reference/var/functions is-string.xml
> >> Log:
> >> Add file
> >>
> >>
> >>Index: phpdoc-zh/reference/var/functions/is-string.xml
> >>+++ phpdoc-zh/reference/var/functions/is-string.xml
> >><?xml version="1.0" encoding="gb2312"?>
> >><!-- $Revision: 1.1 $ -->
> >><!-- $Author: nio $ -->
> >><!-- EN-Revision: 1.3 Maintainer: nio Status: ready -->
> >><!-- splitted from ./en/functions/var.xml, last change in rev 1.19 -->
> >> <refentry id="function.is-string">
> >> <refnamediv>
> >> <refname>is_string</refname>
> >> <refpurpose>检测变量是否是字符串</refpurpose>
> >> </refnamediv>
> >> <refsect1>
> >> <title>描述</title>
> >> <methodsynopsis>
> >> <type>bool</type><methodname>is_string</methodname>
> >>
> >
> > <methodparam><type>mixed</type><parameter>var</parameter></methodparam>
> >
> >> </methodsynopsis>
> >> <para>
> >> 如果 <parameter>var</parameter>
> >> 是<type>字符串</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_array</function>。
> >> </para>
> >> </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
> >>-->
> >>
> >>
> >
>