svn: /phpdoc/ja/trunk/reference/dir/functions/ opendir.xml
| From: | Satoru Yoshida | Date: | Tue, 17 Sep 2019 04:02:41 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/dir/functions/ opendir.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5060@lists.php.net to get a copy of this message | ||
satoruyoshida Tue, 17 Sep 2019 04:02:41 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348004
Log:
sync en
Changed paths:
U phpdoc/ja/trunk/reference/dir/functions/opendir.xml
Modified: phpdoc/ja/trunk/reference/dir/functions/opendir.xml
===================================================================
--- phpdoc/ja/trunk/reference/dir/functions/opendir.xml 2019-09-16 19:59:46 UTC (rev 348003)
+++ phpdoc/ja/trunk/reference/dir/functions/opendir.xml 2019-09-17 04:02:41 UTC (rev 348004)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- splitted from ./ja/functions/dir.xml, last change in rev 1.1 -->
-<!-- EN-Revision: 321886 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 347576 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi -->
<refentry xml:id="function.opendir" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -53,51 +53,19 @@
&reftitle.returnvalues;
<para>
成功した場合にディレクトリハンドルの <type>resource</type> 、
- 失敗した場合に &false; を返します。
+ &return.falseforfailure;
</para>
- <para>
- <parameter>path</parameter>
が有効なディレクトリでないかまたは権限が
- 制限されているかファイルシステムのエラーによりディレクトリが
- オープンできない場合、<function>opendir</function> は &false;
を返し、
- <link linkend="errorfunc.constants">E_WARNING</link>
エラーが発行されます。
- <function>opendir</function> のこのエラー出力は、
- 関数名の前に '<link
linkend="language.operators.errorcontrol">@</link>'
- を付けることにより抑制できます。
- </para>
</refsect1>
- <refsect1 role="changelog">
- &reftitle.changelog;
+ <refsect1 role="errors">
+ &reftitle.errors;
+ &fs.emits.warning.on.failure;
<para>
- <informaltable>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>&Version;</entry>
- <entry>&Description;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>5.0.0</entry>
- <entry>
- <parameter>path</parameter> が <literal>ftp://</literal>
- URL ラッパーをサポートします。
- </entry>
- </row>
- <row>
- <entry>4.3.0</entry>
- <entry>
- <parameter>path</parameter>
に、ディレクトリの一覧表示をサポートする
- URL を指定することが可能です。しかし、PHP 4 では
<literal>file://</literal>
- URL ラッパーのみをサポートしています。
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </refsect1>
+ <parameter>path</parameter> が有効なディレクトリでない場合、
+ 権限の制限によりディレクトリがオープンできない場合、
+ またはファイルシステムのエラー時に起こりえます。
+ </para>
+ </refsect1>
<refsect1 role="examples">
&reftitle.examples;