The magical constant __METHOD__ was added in PHP 5.0.0

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129748 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-06-01 16:56:56 +00:00
parent 6bd4a48c40
commit 0a4b054a74
2 changed files with 11 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.31 $ -->
<!-- $Revision: 1.32 $ -->
<appendix id="reserved">
<title>List of Reserved Words</title>
@ -205,6 +205,9 @@
<entry>
<link linkend="language.constants.predefined">__CLASS__</link>
</entry>
<entry>
<link linkend="language.constants.predefined">__METHOD__</link>
</entry>
</row>
</tbody>
</tgroup>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.30 $ -->
<!-- $Revision: 1.31 $ -->
<chapter id="language.constants">
<title>Constants</title>
@ -176,6 +176,12 @@ echo Constant; // outputs "Constant" and issues a notice.
The class name. (This was added in PHP 4.3.0.)
</entry>
</row>
<row>
<entry><constant>__METHOD__</constant></entry>
<entry>
The class method name. (This was added in PHP 5.0.0)
</entry>
</row>
</tbody>
</tgroup>
</table>