appendices/reserved.xml
010542d1dcb9b1d5cd397a77ed580e50de25aca7
...
...
@@ -188,7 +188,7 @@
188
188
<function>list</function>
189
189
</entry>
190
190
<entry>
191
-
<link linkend="control-structures.match">match</link> (as of PHP 8.0)
191
+
&match; (as of PHP 8.0)
192
192
</entry>
193
193
<entry>
194
194
<link linkend="language.namespaces">namespace</link>
...
...
@@ -355,8 +355,9 @@
355
355
<term><classname>stdClass</classname></term>
356
356
<listitem>
357
357
<simpara>
358
-
Created by <link linkend="language.types.object.casting">typecasting
359
-
to object</link>.
358
+
A generic empty class created as a result of
359
+
<link linkend="language.types.object.casting">typecasting
360
+
to object</link> or various standard functions.
360
361
</simpara>
361
362
</listitem>
362
363
</varlistentry>
...
...
@@ -506,8 +507,8 @@
506
507
<sect1 xml:id="reserved.other-reserved-words">
507
508
<title>List of other reserved words</title>
508
509
<simpara>
509
-
The following words cannot be used to name a class, interface or trait, and
510
-
they are also prohibited from being used in namespaces.
510
+
The following words cannot be used to name a class, interface or trait.
511
+
Prior to PHP 8.0, they are also prohibited from being used in namespaces.
511
512
</simpara>
512
513
<para>
513
514
<table>
...
...
@@ -562,8 +563,8 @@
562
563
</para>
563
564
<para>
564
565
The following list of words have had soft reservations placed on them.
565
-
Whilst they may still be used as class, interface, and trait names (as well
566
-
as in namespaces), usage of them is highly discouraged since they may be
566
+
Whilst they may still be used as class, interface, and trait names
567
+
usage of them is highly discouraged since they may be
567
568
used in future versions of PHP.
568
569
</para>
569
570
<para>
570
571