Skip to content

Commit cc45c6e

Browse files
authored
fix:typo swtich->switch (#123)
1 parent 796b3bd commit cc45c6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language/control-structures/switch.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<programlisting role="php">
4141
<![CDATA[
4242
<?php
43-
// これが swtich 文です:
43+
// これが switch 文です:
4444
4545
switch ($i) {
4646
case 0:
@@ -185,7 +185,7 @@ switch ($i) {
185185
<para>
186186
case に与える値は、式であっても構いません。
187187
しかし、式はそれ自体が実行され、
188-
その結果が swtich に与えた値と緩やかに比較されます。
188+
その結果が switch に与えた値と緩やかに比較されます。
189189
これは、switch に与える値の複雑な評価には使えないということです。
190190
たとえば、以下の例を見てみましょう:
191191
<informalexample>

0 commit comments

Comments
 (0)