#27090 [Opn->Csd]: == to compare arrays is not documented enough

From: Date: Sat, 31 Jan 2004 11:47:53 +0000
Subject: #27090 [Opn->Csd]: == to compare arrays is not documented enough
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358630@lists.php.net to get a copy of this message
ID: 27090 Updated by: vrana@php.net Reported By: derick@php.net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: irrelevant PHP Version: Irrelevant Assigned To: vrana 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. Previous Comments: ------------------------------------------------------------------------ [2004-01-29 17:07:05] derick@php.net Description: ------------ While being pissed of that array_diff returns an empty array on eval array_diff(array(), array(0=>'id')) I was looking for a way to simply see if there is a function to see if arrays are equal or not; there is == I discovered, but this is nowhere documented. It needs to be documented the following locations: http://docs.php.net/en/language.operators.html#language.operators.array http://docs.php.net/en/language.operators.html#language.operators.comparison http://docs.php.net/en/language.types.html#language.types.array (with example) and both + and == should be documented here: http://docs.php.net/en/ref.array.html#ref.array ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27090&edit=1

« previous php.doc (#969358630) next »