svn: /phpdoc/zh/trunk/appendices/ about.xml
[email protected] (Dai Jie) Sat, 25 Jan 2020 16:18:30 +0000
| Newsgroups | php.doc.zh |
|---|---|
| Message-ID | <[email protected]> |
daijie Sat, 25 Jan 2020 16:18:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349014
Log:
Sync with en.
Changed paths:
U phpdoc/zh/trunk/appendices/about.xml
Modified: phpdoc/zh/trunk/appendices/about.xml
===================================================================
--- phpdoc/zh/trunk/appendices/about.xml 2020-01-25 16:06:17 UTC (rev 349013)
+++ phpdoc/zh/trunk/appendices/about.xml 2020-01-25 16:18:30 UTC (rev 349014)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336646 Maintainer: Gregory Status: ready -->
+<!-- EN-Revision: 347032 Maintainer: Gregory Status: ready -->
<!-- CREDITS: dallas -->
<appendix xml:id="about" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>关于本手册</title>
@@ -115,7 +115,7 @@
strlen -- 获取字符串长度
说明
-int strlen ( string str )
+strlen ( string $string ) : int
返回给定的字符串 string 的长度。
]]>
@@ -150,18 +150,18 @@
</row>
<row>
<entry>
- int
+ ( string str )
</entry>
<entry>
- 该函数返回的值的类型,这里为整型 <type>integer</type>(即以数字来衡量的字符串的长度)。
+ 第一个(本例中是唯一的)参数,在该函数中名为 <parameter>string</parameter>,且类型为 <type>string</type>。
</entry>
</row>
<row>
<entry>
- ( string str )
+ int
</entry>
<entry>
- 第一个(本例中是唯一的)参数,在该函数中名为 <parameter>string</parameter>,且类型为 <type>string</type>。
+ 该函数返回的值的类型,这里为整型 <type>integer</type>(即以数字来衡量的字符串的长度)。
</entry>
</row>
</tbody>
@@ -174,8 +174,8 @@
<para>
<screen>
<![CDATA[
- 返回类型 函数名 ( 参数类型 参数名 )
- returned type function name ( parameter type parameter name )
+ 函数名 ( 参数类型 参数名 ) 返回类型
+ function name ( parameter type parameter name ) : returned type
]]>
</screen>
</para>
@@ -185,7 +185,7 @@
<para>
<screen>
<![CDATA[
- bool in_array ( mixed $needle, array $haystack [, bool $strict = FALSE ] )
+ in_array ( mixed $needle, array $haystack [, bool $strict = FALSE ] ) : bool
]]>
</screen>
</para>
@@ -230,8 +230,8 @@
<para>
<screen>
<![CDATA[
- int preg_match ( string $pattern , string $subject [, array &$matches
- [, int $flags = 0 [, int $offset = 0 ]]] )
+ preg_match ( string $pattern , string $subject [, array &$matches
+ [, int $flags = 0 [, int $offset = 0 ]]] ) : int
]]>
</screen>
</para>