#42149 [Opn->Csd]: array_keys documentation phrasing

From: Date: Tue, 31 Jul 2007 08:19:18 +0000
Subject: #42149 [Opn->Csd]: array_keys documentation phrasing
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969377192@lists.php.net to get a copy of this message
ID: 42149 Updated by: rquadling@php.net Reported By: scot at wilcoxon dot org -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. "As of PHP 5, this parameter determines if strict comparision (===) should be used during the search." Previous Comments: ------------------------------------------------------------------------ [2007-07-30 17:04:56] scot at wilcoxon dot org Perhaps the intended meaning is "As of PHP 5, if this parameter is TRUE then strict comparison ("===") will be used when comparing the search parameter with the key values." ------------------------------------------------------------------------ [2007-07-30 17:00:58] scot at wilcoxon dot org Description: ------------ Problem in the documentation for array_keys http://us.php.net/manual/en/function.array-keys.php The phrase "As of PHP 5, this parameter is for if strict comparision (===) should be used." should be rewritten. I have not checked the code but suspect the meaning is "As of PHP 5, if this parameter is specified as TRUE then comparison should be done with the "===" operator." But without checking the code I do not know whether "comparison should be done" is not as correct as "comparison must be done". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42149&edit=1

« previous php.doc (#969377192) next »