[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/reflection/reflectionclass/_getconstants.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2017-03-17 12:25:04
Message-ID: svn-cmb-1489753504-342147-818391699 () svn ! php ! net
[Download RAW message or body]
cmb Fri, 17 Mar 2017 12:25:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=342147
Log:
Fix #74245: No other ways to get all constants from class but using reflection
We're not actually fixing this issue, but rather document
ReflectionClass::getConstants().
Bug: https://bugs.php.net/74245 (error getting bug information)
Changed paths:
U phpdoc/en/trunk/reference/reflection/reflectionclass/getconstants.xml
Modified: phpdoc/en/trunk/reference/reflection/reflectionclass/getconstants.xml
===================================================================
--- phpdoc/en/trunk/reference/reflection/reflectionclass/getconstants.xml 2017-03-17 \
12:12:36 UTC (rev 342146)
+++ phpdoc/en/trunk/reference/reflection/reflectionclass/getconstants.xml 2017-03-17 \
12:25:04 UTC (rev 342147) @@ -14,11 +14,9 @@
<void />
</methodsynopsis>
<para>
- Gets defined constants from a class.
+ Gets all defined constants from a class, regardless of their visibility.
</para>
- &warn.undocumented.func;
-
</refsect1>
<refsect1 role="parameters">
@@ -29,8 +27,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- An <type>array</type> of constants.
- Constant name in key, constant value in value.
+ An <type>array</type> of constants, where the keys hold the name
+ and the values the value of the constants.
</para>
</refsect1>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic