mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Document the fact that $classname="self"; is not supported
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245421 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a1496cecfe
commit
a45ee0849b
3 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<sect1 xml:id="language.oop5.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Class Constants</title>
|
||||
<para>
|
||||
|
@ -14,6 +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.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<sect1 xml:id="language.oop5.paamayim-nekudotayim" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Scope Resolution Operator (::)</title>
|
||||
|
||||
|
@ -18,6 +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.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<sect1 xml:id="language.oop5.static" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Static Keyword</title>
|
||||
|
||||
|
@ -33,7 +33,9 @@
|
|||
</para>
|
||||
|
||||
<para>
|
||||
As of PHP 5.3.0, it's possible to reference the class using a variable.
|
||||
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.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue