Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46560 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5249 invoked from network); 28 Dec 2009 16:33:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Dec 2009 16:33:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=jille@hexon.cx; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jille@hexon.cx; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hexon.cx from 82.94.237.14 cause and error) X-PHP-List-Original-Sender: jille@hexon.cx X-Host-Fingerprint: 82.94.237.14 mulgore.hexon-is.nl Received: from [82.94.237.14] ([82.94.237.14:46675] helo=mulgore.hexon-is.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/C3-26502-1EDD83B4 for ; Mon, 28 Dec 2009 11:33:39 -0500 Received: from adidas.hexon-nijmegen.nl (gw.hexon-nijmegen.nl [82.93.241.107]) by mulgore.hexon-is.nl (8.14.3/8.14.3) with ESMTP id nBSGXUET005033; Mon, 28 Dec 2009 17:33:30 +0100 Received: from [10.0.0.142] (HENK.hexon-nijmegen.nl [10.0.0.142]) by adidas.hexon-nijmegen.nl (8.14.3/8.14.3) with ESMTP id nBSGXTwn031547; Mon, 28 Dec 2009 17:33:29 +0100 Message-ID: <4B38DDD3.8010108@hexon.cx> Date: Mon, 28 Dec 2009 17:33:23 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Clint Priest CC: internals@lists.php.net References: <78.83.26502.F1DD83B4@pb1.pair.com> In-Reply-To: <78.83.26502.F1DD83B4@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Hexon-MailScanner-Information: Please contact the ISP for more information X-Hexon-MailScanner-ID: nBSGXUET005033 X-Hexon-MailScanner: Found to be clean X-Hexon-MailScanner-From: jille@hexon.cx X-Hexon-MailScanner-Watermark: 1262622811.35555@6VJ1AJ5s88lLSNo0xpPm9g Subject: Re: [PHP-DEV] is_array on objects with ArrayAccess or Iterator implementations From: jille@hexon.cx (Jille Timmermans) Op 28-12-2009 17:30, Clint Priest schreef: > Has there been any discussion or decision about whether is_array() > should return true for objects which implement ArrayAccess or is there > another function already available which checks for either being the case? > How about $x instanceOf ArrayAccess ? -- Jille