svn: /phpdoc/ja/trunk/appendices/ about.xml
| From: | Yoshinari Takaoka | Date: | Wed, 18 Dec 2019 17:34:48 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/appendices/ about.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5169@lists.php.net to get a copy of this message | ||
mumumu Wed, 18 Dec 2019 17:34:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348573
Log:
update return type position in "How to read a function definition (prototype)" section
Changed paths:
U phpdoc/ja/trunk/appendices/about.xml
Modified: phpdoc/ja/trunk/appendices/about.xml
===================================================================
--- phpdoc/ja/trunk/appendices/about.xml 2019-12-18 16:52:48 UTC (rev 348572)
+++ phpdoc/ja/trunk/appendices/about.xml 2019-12-18 17:34:48 UTC (rev 348573)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 342148 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: takagi -->
+<!-- EN-Revision: 347032 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: takagi,mumumu -->
<appendix xml:id="about" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>マニュアルについて</title>
@@ -144,7 +144,7 @@
<para>
<screen role="html">
<![CDATA[
- strlen
+strlen ( string $string ) : int
(PHP 4, PHP 5)
strlen -- 文字列の長さを得る
@@ -185,21 +185,21 @@
</row>
<row>
<entry>
- int
+ ( string $string )
</entry>
<entry>
- 関数が戻す値の型。ここでは<type>整数</type>
- (文字列の長さが数字で数えら得ている)
+ strlen() 関数の最初の(この場合は唯一の)引数が
+ <parameter>string</parameter>という名前であり
+ それは<type>文字列</type>である
</entry>
</row>
<row>
<entry>
- ( string $string )
+ int
</entry>
<entry>
- strlen() 関数の最初の(この場合は唯一の)引数が
- <parameter>string</parameter>という名前であり
- それは<type>文字列</type>である
+ 関数が戻す値の型。ここでは<type>整数</type>
+ (文字列の長さが数字で数えら得ている)
</entry>
</row>
</tbody>
@@ -212,7 +212,7 @@
<para>
<screen>
<![CDATA[
- returned type function name ( parameter type parameter name )
+ function name ( parameter type parameter name ) : returned type
]]>
</screen>
</para>
@@ -223,7 +223,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>
@@ -255,8 +255,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>