mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
512ae805f6
commit
67de41e11a
1 changed files with 10 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue