Doc #52999 [Opn]: categorize parameter behaved incorrectly prior to 5.2.11

From: Date: Wed, 06 Oct 2010 10:47:49 +0000
Subject: Doc #52999 [Opn]: categorize parameter behaved incorrectly prior to 5.2.11
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5171@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52999&edit=1 ID: 52999 Updated by: rquadling@php.net Reported by: anthon dot pang at gmail dot com Summary: categorize parameter behaved incorrectly prior to 5.2.11 Status: Open Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: rquadling Block user comment: N New Comment: I can confirm that prior too V5.2.11RC1, the categorize parameter was interpreted as !isnull($categorize). Supplying, true, false, '', 'somejunk', 'xml' would all be interpreted as true. Previous Comments: ------------------------------------------------------------------------ [2010-10-06 04:46:16] anthon dot pang at gmail dot com Sorry, forgot to add that this is for the online documentation page: http://php.net/get_defined_constants ------------------------------------------------------------------------ [2010-10-06 04:45:00] anthon dot pang at gmail dot com Description: ------------ Prior to php 5.2.11 (at least as far back as 5.1.3, which is the oldest version I have available for regression testing), if the categorize parameter was specified, it would always return categorized results, even if categorize=false. (Reference: http://bugs.php.net/48629) Proposed Changelog entry: Version Description 5.2.11 get_defined_constants(categorize=false) now works as expected ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52999&edit=1

« previous php.doc.bugs (#5171) next »