Added initializer.

Added V5.2.11 changelog to show different behaviour of $categorize.
Fix bug #52999

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304142 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Richard Quadling 2010-10-06 10:56:01 +00:00
parent 512ae805f6
commit 67de41e11a

View file

@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>get_defined_constants</methodname>
<methodparam choice="opt"><type>bool</type><parameter>categorize</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>categorize</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
Returns the names and values of all the constants currently defined.
@ -122,6 +122,15 @@ Array
are categorized under <literal>mhash</literal>.
</entry>
</row>
<row>
<entry>5.2.11</entry>
<entry>
The <parameter>categorize</parameter> parameter now operates appropriately.
Previously, the <parameter>categorize</parameter> parameter was interpreted
as <literal>!is_null($categorize)</literal>, making any value other than &null;
force the constants to be categorized.
</entry>
</row>
<row>
<entry>5.0.0</entry>
<entry>