Clarify wording re keywords in variable class names in static context.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253917 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Convissor 2008-02-28 13:26:54 +00:00
parent 3d8b044be5
commit c1183e7825
3 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<sect1 xml:id="language.oop5.constants" xmlns="http://docbook.org/ns/docbook">
<title>Class Constants</title>
<para>
@ -14,8 +14,8 @@
<para>
As of PHP 5.3.0, it's possible to reference the class using a variable.
Keywords like <literal>self</literal>, <literal>parent</literal> or
<literal>static</literal> are not allowed in dynamic class references.
The variable's value can not be a keyword (e.g. <literal>self</literal>,
<literal>parent</literal> and <literal>static</literal>).
</para>
<example>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<sect1 xml:id="language.oop5.paamayim-nekudotayim" xmlns="http://docbook.org/ns/docbook">
<title>Scope Resolution Operator (::)</title>
@ -18,8 +18,8 @@
<para>
As of PHP 5.3.0, it's possible to reference the class using a variable.
Keywords like <literal>self</literal>, <literal>parent</literal> or
<literal>static</literal> are not allowed in dynamic class references.
The variable's value can not be a keyword (e.g. <literal>self</literal>,
<literal>parent</literal> and <literal>static</literal>).
</para>
<para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.16 $ -->
<!-- $Revision: 1.17 $ -->
<sect1 xml:id="language.oop5.static" xmlns="http://docbook.org/ns/docbook">
<title>Static Keyword</title>
@ -34,8 +34,8 @@
<para>
As of PHP 5.3.0, it's possible to reference the class using a variable.
Keywords like <literal>self</literal>, <literal>parent</literal> or
<literal>static</literal> are not allowed in dynamic class references.
The variable's value can not be a keyword (e.g. <literal>self</literal>,
<literal>parent</literal> and <literal>static</literal>).
</para>
<example>