com doc/ja: Fix the description about reference in user-land: features/gc.xml
[email protected] (Yoshinari Takaoka) Thu, 14 Jan 2021 03:17:45 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: 6f3e29f9e11c5c8d54084cde3bed4fb860380def Author: sj-i <[email protected]> Thu, 14 Jan 2021 08:08:30 +0900 Committer: Yoshinari Takaoka <[email protected]> Thu, 14 Jan 2021 12:17:45 +0900 Parents: f3d0de8cfc95a4cfc751be30d162bcc6fed251c3 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=6f3e29f9e11c5c8d54084cde3bed4fb860380def Log: Fix the description about reference in user-land Closes php/doc-ja#1 Bugs: https://bugs.php.net/1 Changed paths: M features/gc.xml Diff: diff --git a/features/gc.xml b/features/gc.xml index 2b07853aad..cd723373e4 100644 --- a/features/gc.xml +++ b/features/gc.xml @@ -17,7 +17,7 @@ 1つ目は「is_ref」と呼ばれ、変数が「参照集合」の一部かどうかを示すブール値 です。 このビットによって、通常の変数と参照を区別する方法を PHP エンジンが知ります。 - &演算子によって作成されるように、PHP ではユーザーランドを参照できるので、 + &演算子によって作成されるように、PHP ではユーザーランドで参照を使えるので、 zval コンテナもメモリー使用状況を最適化するための内部的な参照カウント機構を 持ちます。 追加情報の2つ目は「refcount」と呼ばれ、この1つの zval コンテナをどれだけ多くの