Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70087 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48991 invoked from network); 10 Nov 2013 19:59:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2013 19:59:50 -0000 Authentication-Results: pb1.pair.com header.from=swhitemanlistens-software@cypressintegrated.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=swhitemanlistens-software@cypressintegrated.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cypressintegrated.com designates 173.1.104.101 as permitted sender) X-PHP-List-Original-Sender: swhitemanlistens-software@cypressintegrated.com X-Host-Fingerprint: 173.1.104.101 rproxy2-b-iv.figureone.com Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [173.1.104.101] ([173.1.104.101:55259] helo=rproxy2-b-iv.figureone.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/21-42270-5B5EF725 for ; Sun, 10 Nov 2013 14:59:50 -0500 Received: from localhost ([216.220.114.66]) by rproxy2-b-iv.figureone.com (Brand New Heavy v1.0) with ASMTP id VER09046 for ; Sun, 10 Nov 2013 11:59:46 -0800 Date: Sun, 10 Nov 2013 14:59:38 -0500 Reply-To: Sanford Whiteman X-Priority: 3 (Normal) Message-ID: <346085145.20131110145938@cypressintegrated.com> To: Rowan Collins In-Reply-To: <527FDE61.70102@gmail.com> References: <527DF228.1080108@sugarcrm.com> <416659913.20131110035553@cypressintegrated.com> <127298508.20131110042057@cypressintegrated.com> <97776909.20131110045342@cypressintegrated.com> <527FDE61.70102@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Comparison and conversion inconsistency - need more info From: swhitemanlistens-software@cypressintegrated.com (Sanford Whiteman) > I didn't immediately spot it, but the word "comparable" next to each > argument in the Parameters section is linked to the comparison operators > page. It mgiht be an idea to add it to the See Also section as well, to > make it more visible. Don't see how this has any more of a visibility problem than `mixed` type params for other functions. IMO, it's a nice convenience that the hyperlink is there, but not even necessary. min() should be assumed to be sort() and unshift(). Sort --> comparison --> comparison rules apply. Do we really have to reiterate anywhere that a comparison might be performed that it's going to follow comparison rules? If a fn accepts a callback, do we say, "Remember how comparisons work"? -- S.