From 47ae87650c1cf559078a013c848ece2b946b7dc7 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 20 Sep 2005 13:25:02 +0000 Subject: [PATCH] Works with class constants (bug #34049) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196447 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/misc/functions/constant.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/reference/misc/functions/constant.xml b/reference/misc/functions/constant.xml index 56ffeca435..db30d6c5d7 100644 --- a/reference/misc/functions/constant.xml +++ b/reference/misc/functions/constant.xml @@ -1,5 +1,5 @@ - + @@ -18,9 +18,13 @@ constant is useful if you need to retrieve - the value of a constant, but do not know its name. i.e. It is + the value of a constant, but do not know its name. I.e. it is stored in a variable or returned by a function. + + This function works also with class constants. + <function>constant</function> example