svn: /phpdoc/ja/trunk/reference/opcache/functions/ opcache-compile-file.xml opcache-get-configuration.xml opcache-get-status.xml opcache-invalidate.xml opcache-is-script-cached.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Wed, 18 Nov 2020 23:57:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351441 Log: Generate opcache methodsynopses based on stubs Patch contributed by Máté Kocsis <[email protected]>. Changed paths: U phpdoc/ja/trunk/reference/opcache/functions/opcache-compile-file.xml UU phpdoc/ja/trunk/reference/opcache/functions/opcache-get-configuration.xml U phpdoc/ja/trunk/reference/opcache/functions/opcache-get-status.xml U phpdoc/ja/trunk/reference/opcache/functions/opcache-invalidate.xml UU phpdoc/ja/trunk/reference/opcache/functions/opcache-is-script-cached.xml
svn-diffs-351441.txt
(text/x-diff, 10.2 KB)
Modified: phpdoc/ja/trunk/reference/opcache/functions/opcache-compile-file.xml
===================================================================
--- phpdoc/ja/trunk/reference/opcache/functions/opcache-compile-file.xml 2020-11-18 23:52:33 UTC (rev 351440)
+++ phpdoc/ja/trunk/reference/opcache/functions/opcache-compile-file.xml 2020-11-18 23:57:47 UTC (rev 351441)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343889 Maintainer: takagi Status: ready -->
-
+<!-- EN-Revision: 351408 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.opcache-compile-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>opcache_compile_file</refname>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>opcache_compile_file</methodname>
- <methodparam><type>string</type><parameter>file</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
この関数は、PHP スクリプトをコンパイルして opcode キャッシュに追加しますが、スクリプトは実行しません。
@@ -25,7 +25,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>file</parameter></term>
+ <term><parameter>filename</parameter></term>
<listitem>
<para>
コンパイルしたい PHP スクリプトへのパス。
@@ -38,7 +38,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>file</parameter> を正常にコンパイルしたときに &true; を返します。
+ <parameter>filename</parameter> を正常にコンパイルしたときに &true; を返します。
&return.falseforfailure;。
</para>
</refsect1>
@@ -46,7 +46,7 @@
<refsect1 role="errors">
&reftitle.errors;
<para>
- <parameter>file</parameter> を読み込めなかったりコンパイルできなかったりした場合は
+ <parameter>filename</parameter> を読み込めなかったりコンパイルできなかったりした場合は
<constant>E_WARNING</constant> レベルのエラーが発生します。
<link linkend="language.operators.errorcontrol">@</link> を使えば、この警告を抑制できます。
</para>
@@ -61,7 +61,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/opcache/functions/opcache-get-configuration.xml
===================================================================
--- phpdoc/ja/trunk/reference/opcache/functions/opcache-get-configuration.xml 2020-11-18 23:52:33 UTC (rev 351440)
+++ phpdoc/ja/trunk/reference/opcache/functions/opcache-get-configuration.xml 2020-11-18 23:57:47 UTC (rev 351441)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 332285 Maintainer: satoruyoshida Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: satoruyoshida Status: ready -->
<refentry xml:id="function.opcache-get-configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>opcache_get_configuration</refname>
@@ -10,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>opcache_get_configuration</methodname>
- <void />
+ <type class="union"><type>array</type><type>false</type></type><methodname>opcache_get_configuration</methodname>
+ <void/>
</methodsynopsis>
<para>
この関数は、キャッシュ・インスタンスについての構成情報を返します。
@@ -45,7 +45,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Property changes on: phpdoc/ja/trunk/reference/opcache/functions/opcache-get-configuration.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Modified: phpdoc/ja/trunk/reference/opcache/functions/opcache-get-status.xml
===================================================================
--- phpdoc/ja/trunk/reference/opcache/functions/opcache-get-status.xml 2020-11-18 23:52:33 UTC (rev 351440)
+++ phpdoc/ja/trunk/reference/opcache/functions/opcache-get-status.xml 2020-11-18 23:57:47 UTC (rev 351441)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: satoruyoshida Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: satoruyoshida Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.opcache-get-status" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type class="union"><type>array</type><type>false</type></type><methodname>opcache_get_status</methodname>
- <methodparam choice="opt"><type>bool</type><parameter>get_scripts</parameter><initializer>&true;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>include_scripts</parameter><initializer>&true;</initializer></methodparam>
</methodsynopsis>
<para>
この関数は、キャッシュ・インスタンスについてのステータス情報を返します。
@@ -23,7 +23,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>get_scripts</parameter></term>
+ <term><parameter>include_scripts</parameter></term>
<listitem>
<para>
スクリプト固有の状態の情報を含む。
@@ -61,7 +61,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/opcache/functions/opcache-invalidate.xml
===================================================================
--- phpdoc/ja/trunk/reference/opcache/functions/opcache-invalidate.xml 2020-11-18 23:52:33 UTC (rev 351440)
+++ phpdoc/ja/trunk/reference/opcache/functions/opcache-invalidate.xml 2020-11-18 23:57:47 UTC (rev 351441)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343890 Maintainer: mumumu Status: ready -->
-
+<!-- EN-Revision: 351408 Maintainer: mumumu Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.opcache-invalidate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>opcache_invalidate</refname>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>opcache_invalidate</methodname>
- <methodparam><type>string</type><parameter>script</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>force</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
@@ -25,7 +25,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>script</parameter></term>
+ <term><parameter>filename</parameter></term>
<listitem>
<para>
無効にしたいスクリプトのパス
@@ -46,7 +46,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>script</parameter> の opcode キャッシュが無効にされたか、無効にする対象が存在しない場合は &true; を返します。
+ <parameter>filename</parameter> の opcode キャッシュが無効にされたか、無効にする対象が存在しない場合は &true; を返します。
opcode キャッシュ機能そのものが無効にされている場合は &false; を返します。
</para>
</refsect1>
@@ -61,7 +61,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/opcache/functions/opcache-is-script-cached.xml
===================================================================
--- phpdoc/ja/trunk/reference/opcache/functions/opcache-is-script-cached.xml 2020-11-18 23:52:33 UTC (rev 351440)
+++ phpdoc/ja/trunk/reference/opcache/functions/opcache-is-script-cached.xml 2020-11-18 23:57:47 UTC (rev 351441)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343889 Maintainer: satoruyoshida Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: satoruyoshida Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.opcache-is-script-cached" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>opcache_is_script_cached</refname>
@@ -11,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>opcache_is_script_cached</methodname>
- <methodparam><type>string</type><parameter>file</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
この関数は、PHP スクリプトが OPCache にキャッシュされているかチェックします。
@@ -23,7 +24,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>file</parameter></term>
+ <term><parameter>filename</parameter></term>
<listitem>
<para>
チェックされる PHP スクリプトへのパスです。
@@ -36,7 +37,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- <parameter>file</parameter> が OPCache にキャッシュされている場合、&true; を、
+ <parameter>filename</parameter> が OPCache にキャッシュされている場合、&true; を、
そうでなければ &false; を返します。
</para>
</refsect1>
@@ -50,7 +51,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Property changes on: phpdoc/ja/trunk/reference/opcache/functions/opcache-is-script-cached.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property