From 0a4b054a74f300c1eba4e105f2b64bd2569887cd Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Sun, 1 Jun 2003 16:56:56 +0000 Subject: [PATCH] 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 --- appendices/reserved.xml | 5 ++++- language/constants.xml | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/appendices/reserved.xml b/appendices/reserved.xml index a159c99f43..418308d0e0 100755 --- a/appendices/reserved.xml +++ b/appendices/reserved.xml @@ -1,5 +1,5 @@ - + List of Reserved Words @@ -205,6 +205,9 @@ __CLASS__ + + __METHOD__ + diff --git a/language/constants.xml b/language/constants.xml index 09fe52417c..bfba6cfae4 100644 --- a/language/constants.xml +++ b/language/constants.xml @@ -1,5 +1,5 @@ - + Constants @@ -176,6 +176,12 @@ echo Constant; // outputs "Constant" and issues a notice. The class name. (This was added in PHP 4.3.0.) + + __METHOD__ + + The class method name. (This was added in PHP 5.0.0) + +