Skip to content

Commit a78f425

Browse files
committed
Fix links to magic constants page
- Tokens: Close PHP code in example - Document T_PROPERTY_C constant https://github.com/php/doc-en/commits/master/appendices/tokens.xml
1 parent 7807451 commit a78f425

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

appendices/tokens.xml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 349f6f64ec46a288c376c868721fdad21929fdb2 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: a124543dd3f6b1e5567b07420d23899e582514dc Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi,mumumu -->
55

66
<appendix xml:id="tokens" xmlns="http://docbook.org/ns/docbook">
@@ -37,6 +37,7 @@
3737
<?php
3838
// PHP 7.4.0 より前のバージョンでは、定数 T_FN は定義されていません
3939
defined('T_FN') || define('T_FN', 10001);
40+
?>
4041
]]>
4142
</programlisting>
4243
</para>
@@ -146,7 +147,7 @@ defined('T_FN') || define('T_FN', 10001);
146147
<entry><constant>T_CLASS_C</constant></entry>
147148
<entry>__CLASS__</entry>
148149
<entry>
149-
<link linkend="language.constants.predefined">マジック定数</link>
150+
<link linkend="language.constants.magic">マジック定数</link>
150151
</entry>
151152
</row>
152153
<row xml:id="constant.t-clone">
@@ -228,7 +229,7 @@ defined('T_FN') || define('T_FN', 10001);
228229
<row xml:id="constant.t-dir">
229230
<entry><constant>T_DIR</constant></entry>
230231
<entry>__DIR__</entry>
231-
<entry><link linkend="language.constants.predefined">マジック定数</link></entry>
232+
<entry><link linkend="language.constants.magic">マジック定数</link></entry>
232233
</row>
233234
<row xml:id="constant.t-div-equal">
234235
<entry><constant>T_DIV_EQUAL</constant></entry>
@@ -374,7 +375,7 @@ defined('T_FN') || define('T_FN', 10001);
374375
<row xml:id="constant.t-file">
375376
<entry><constant>T_FILE</constant></entry>
376377
<entry>__FILE__</entry>
377-
<entry><link linkend="language.constants.predefined">マジック定数</link></entry>
378+
<entry><link linkend="language.constants.magic">マジック定数</link></entry>
378379
</row>
379380
<row xml:id="constant.t-final">
380381
<entry><constant>T_FINAL</constant></entry>
@@ -413,7 +414,7 @@ defined('T_FN') || define('T_FN', 10001);
413414
<entry><constant>T_FUNC_C</constant></entry>
414415
<entry>__FUNCTION__</entry>
415416
<entry>
416-
<link linkend="language.constants.predefined">マジック定数</link>
417+
<link linkend="language.constants.magic">マジック定数</link>
417418
</entry>
418419
</row>
419420
<row xml:id="constant.t-global">
@@ -523,7 +524,7 @@ defined('T_FN') || define('T_FN', 10001);
523524
<row xml:id="constant.t-line">
524525
<entry><constant>T_LINE</constant></entry>
525526
<entry>__LINE__</entry>
526-
<entry><link linkend="language.constants.predefined">マジック定数</link></entry>
527+
<entry><link linkend="language.constants.magic">マジック定数</link></entry>
527528
</row>
528529
<row xml:id="constant.t-list">
529530
<entry><constant>T_LIST</constant></entry>
@@ -561,7 +562,7 @@ defined('T_FN') || define('T_FN', 10001);
561562
<entry><constant>T_METHOD_C</constant></entry>
562563
<entry>__METHOD__</entry>
563564
<entry>
564-
<link linkend="language.constants.predefined">マジック定数</link>
565+
<link linkend="language.constants.magic">マジック定数</link>
565566
</entry>
566567
</row>
567568
<row xml:id="constant.t-minus-equal">
@@ -713,6 +714,13 @@ defined('T_FN') || define('T_FN', 10001);
713714
プロパティフック (PHP 8.4.0 以降で利用可能)
714715
</entry>
715716
</row>
717+
<row xml:id="constant.t-property-c">
718+
<entry><constant>T_PROPERTY_C</constant></entry>
719+
<entry>__PROPERTY__</entry>
720+
<entry>
721+
<link linkend="language.constants.magic">マジック定数</link>
722+
</entry>
723+
</row>
716724
<row xml:id="constant.t-protected">
717725
<entry><constant>T_PROTECTED</constant></entry>
718726
<entry>protected</entry>

0 commit comments

Comments
 (0)