Skip to content

Commit

Permalink
Fix mistranslation in references.xml (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyan-dot authored Dec 14, 2024
1 parent 7eed1da commit 7113384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language/references.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ $arr[2]++;
<para>
しかし、配列の内部のリファレンスは危険もあるということに気をつけましょう。
通常の (リファレンスではない) 代入の右辺にリファレンスを使っても
左辺はリファレンスには変わりませんが、配列の内部のリファレンスは通常の代入のままとなります
左辺がリファレンスに変わることはありませんが、配列の内部のリファレンスは通常の代入においても維持されます
これは、関数をコールする際に配列をリファレンスで渡すときも同じです。
たとえば、次のようになります。
<informalexample>
Expand Down

0 comments on commit 7113384

Please sign in to comment.