com doc/ja: goto labels are case-sensitive: language/control-structures/goto.xml
[email protected] (Yoshinari Takaoka) Thu, 28 Jan 2021 14:46:39 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: 081591a04b5cd77895702576413c72e9abfb2d48 Author: Yoshinari Takaoka <[email protected]> Thu, 28 Jan 2021 23:46:39 +0900 Parents: 3c7e15b19f9d2fb3ff286501081526a2f842b305 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=081591a04b5cd77895702576413c72e9abfb2d48 Log: goto labels are case-sensitive This integrates user note 125733. Changed paths: M language/control-structures/goto.xml Diff: diff --git a/language/control-structures/goto.xml b/language/control-structures/goto.xml index 1c0bf7e1e9..e85d59b329 100644 --- a/language/control-structures/goto.xml +++ b/language/control-structures/goto.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 7104ee97ced1768a3231588dfc0bc0d7eb1117ad Maintainer: takagi Status: ready --> +<!-- EN-Revision: e55a1ca9507ab7c6493cca34110fd17656308e51 Maintainer: takagi Status: ready --> <!-- Credits: mumumu --> <sect1 xml:id="control-structures.goto" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -20,6 +20,7 @@ プログラム中の他の命令にジャンプすることができます。 ジャンプ先はラベルとコロンで表し、 <literal>goto</literal> の後にそのラベルを指定します。 + ラベルは大文字小文字を <emphasis>区別します</emphasis>。 これは、完全に制約のない <literal>goto</literal> というわけではありません。 対象となるラベルは同じファイル上の同じコンテキストになければなりません。 つまり、関数やメソッドの外に飛び出したり