#43553 [Opn]: instanceof missing in Reserved Words
| From: | felipe@php.net | Date: | Mon, 10 Dec 2007 16:08:11 +0000 |
| Subject: | #43553 [Opn]: instanceof missing in Reserved Words | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-341@lists.php.net to get a copy of this message | ||
ID: 43553
Updated by: felipe@php.net
Reported By: vrana@php.net
Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
** Ignore: self and parent.
Its only reserved for class/interface/namespace names.
Previous Comments:
------------------------------------------------------------------------
[2007-12-10 15:20:34] felipe@php.net
Hello Jakub! :)
Other stuffes:
Remove:
- import (PHP 6 only)
Fix PHP version:
- namespace
- this
Add:
- final
- __NAMESPACE__
- self
- parent
- use (add link)
Magic constants:
Add:
- __NAMESPACE__
------------------------------------------------------------------------
[2007-12-10 13:49:53] vrana@php.net
Description:
------------
instanceof keyword is missing in Reserved Words, extends is doubled.
(I'm filling a bug report due to the commit freeze.)
Reproduce code:
---------------
reserved.keywords page
Expected result:
----------------
<link linkend="language.operators.type">instanceof</link> (as of PHP 5)
Actual result:
--------------
<link linkend="language.oop5.basic">extends</link>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43553&edit=1