Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34504 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48201 invoked by uid 1010); 5 Jan 2008 14:44:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48186 invoked from network); 5 Jan 2008 14:44:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2008 14:44:47 -0000 Authentication-Results: pb1.pair.com header.from=amir@abiri.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=amir@abiri.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain abiri.org from 217.155.84.14 cause and error) X-PHP-List-Original-Sender: amir@abiri.org X-Host-Fingerprint: 217.155.84.14 abiri.org Linux 2.4/2.6 Received: from [217.155.84.14] ([217.155.84.14:32951] helo=abiri.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C5/52-25889-ED79F774 for ; Sat, 05 Jan 2008 09:44:47 -0500 Message-ID: Received: from winbox ([192.168.7.3]) by abiri.org with esmtp (Exim 4.50) id 1JBB25-0006Rk-Pf for internals@lists.php.net; Sat, 05 Jan 2008 15:33:57 +0000 To: Date: Sat, 5 Jan 2008 14:44:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AchPqYHN2dIws4jRRcmybplJZdsvbA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Array objects & array functions From: amir@abiri.org ("Amir Abiri") Hi, I was wondering if there are any plans to introduce the ability of array functions to work with "array objects". More specifically I was thinking of starting with adding an SPL interface called ArraySearchable, and modifying php_search_array in ext/standard/array.c to accept an object that implements that interface, in which case the appropriate interface method is called. A