Skip to content

Commit 592450f

Browse files
committed
List of other reserved words: add "parent" and "self"
php/doc-en@170b6cd
1 parent 288a794 commit 592450f

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

appendices/reserved.xml

Lines changed: 14 additions & 6 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: a63b9c754188b610fe1916404831aa9f1b41efbf Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 170b6cda37f29c39b9e08375344c5eb9523b2de3 Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi,mumumu -->
55

66
<appendix xml:id="reserved" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -519,40 +519,48 @@
519519
<tgroup cols="4">
520520
<tbody>
521521
<row>
522+
<entry>
523+
parent
524+
</entry>
525+
<entry>
526+
self
527+
</entry>
522528
<entry>
523529
int
524530
</entry>
525531
<entry>
526532
float
527533
</entry>
534+
</row>
535+
<row>
528536
<entry>
529537
bool
530538
</entry>
531539
<entry>
532540
string
533541
</entry>
534-
</row>
535-
<row>
536542
<entry>
537543
true
538544
</entry>
539545
<entry>
540546
false
541547
</entry>
548+
</row>
549+
<row>
542550
<entry>
543551
null
544552
</entry>
545553
<entry>
546-
void
554+
void (PHP 7.1 以降)
547555
</entry>
548-
</row>
549-
<row>
550556
<entry>
551557
iterable (PHP 7.1 以降)
552558
</entry>
553559
<entry>
554560
object (PHP 7.2 以降)
555561
</entry>
562+
</row>
563+
<row>
556564
<entry>
557565
mixed (PHP 8.0 以降)
558566
</entry>

0 commit comments

Comments
 (0)