mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
6bd4a48c40
commit
0a4b054a74
2 changed files with 11 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue