mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added information about constant __NAMESPACE__
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249238 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
09d2e085ca
commit
a455d25f65
1 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.48 $ -->
|
||||
<!-- $Revision: 1.49 $ -->
|
||||
<chapter xml:id="language.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Constants</title>
|
||||
|
||||
|
@ -224,6 +224,13 @@ echo Constant; // outputs "Constant" and issues a notice.
|
|||
returned as it was declared (case-sensitive).
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>__NAMESPACE__</constant></entry>
|
||||
<entry>
|
||||
The name of the current namespace (case-sensitive). This constant
|
||||
is defined in compile-time (Added in PHP 5.3.0).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue