svn: /phpdoc/en/trunk/reference/info/functions/ get-defined-constants.xml

From: Date: Wed, 06 Oct 2010 10:56:01 +0000
Subject: svn: /phpdoc/en/trunk/reference/info/functions/ get-defined-constants.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7191@lists.php.net to get a copy of this message
rquadling Wed, 06 Oct 2010 10:56:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304142 Log: Added initializer. Added V5.2.11 changelog to show different behaviour of $categorize. Fix bug #52999 Bug: http://bugs.php.net/52999 (Assigned) categorize parameter behaved incorrectly prior to 5.2.11 Changed paths: U phpdoc/en/trunk/reference/info/functions/get-defined-constants.xml Modified: phpdoc/en/trunk/reference/info/functions/get-defined-constants.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/get-defined-constants.xml 2010-10-06 10:55:22 UTC (rev 304141) +++ phpdoc/en/trunk/reference/info/functions/get-defined-constants.xml 2010-10-06 10:56:01 UTC (rev 304142) @@ -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. @@ -123,6 +123,15 @@ </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> The <parameter>categorize</parameter> parameter was added.

« previous php.doc.cvs (#7191) next »