Skip to content

Commit

Permalink
include_onceの説明の修正
Browse files Browse the repository at this point in the history
php/doc-en#3790 の反映
および訳の調整
  • Loading branch information
takaram committed Sep 26, 2024
1 parent 3cdb6a0 commit 90ec5ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions language/control-structures/include-once.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<title>include_once</title>
<?phpdoc print-version-for="include_once"?>
<para>
<literal>include_once</literal> 命令は、スクリプトの実行時に指定
したファイルを読み込み評価します。この動作は
<function>include</function> 命令と似ていますが、ファイルからのコー
ドが既に読み込まれている場合は、再度読み込まれないという重要な違い
があります。また、include_once は &true; を返します。その名が示す通り、ファイルは一度しか読み込まれません。
<literal>include_once</literal> 式は、スクリプトの実行時に指定
したファイルを読み込み評価します。この動作は
<function>include</function> 式と似ていますが、ファイルからのコー
ドが既に読み込まれている場合は、再度読み込まれずに include_once は
&true; を返すという点のみが異なります。その名が示す通り、ファイルは一度しか読み込まれません。
</para>
<para>
<literal>include_once</literal> は、スクリプトの実行時に同じファイ
Expand Down

0 comments on commit 90ec5ca

Please sign in to comment.