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:
Felipe Pena 2007-12-28 18:24:47 +00:00
parent 09d2e085ca
commit a455d25f65

View file

@ -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>